[jQuery] Re: jEditable Clone Referring to the Original Element, livequery ok to use?

2008-09-27 Thread Mika Tuupola
On Sep 27, 2008, at 12:24 AM, Wayne wrote: I was trying to put livequery in place on the site, but it seems to attach to pre-known events, like click, instead of new events, like editable. Brandon would be the correct person to answer this. He knows the internals on livquery the best.

[jQuery] Re: Tabs with multiple CSS classes

2008-09-27 Thread Klaus Hartl
On 27 Sep., 01:06, Dan Baughman [EMAIL PROTECTED] wrote: Is looking at the noncompressed code the best way to figure that stuff out with out having to ask? The best way is reading the documentation: http://docs.jquery.com/UI/Tabs *But*: In this special case you wouldn't have had luck, because

[jQuery] Re: i was patient, now i'm frustrated

2008-09-27 Thread Richard W
@Andy, yes there are more resources out there. I don't rely on those resources so I need to find them. This somewhat distracts my train of thought at the time when if I mosied on down to the jQuery docs I would have completed my task a lot quicker, I want to be able to rely on the jquery

[jQuery] Re: jQuery and Zend Framework validation integration

2008-09-27 Thread jnemec
Hi, I use exactly the same code as you mentioned: $(document).ready(function() { $('#registration').ajaxForm({ dataType: 'json', url: '/registration/check/', success: function(data) { alert(data); } } ); But I do not want to show labels by

[jQuery] Re: Completion callback after events

2008-09-27 Thread Richard D. Worth
On Sat, Sep 27, 2008 at 3:35 AM, debussy007 [EMAIL PROTECTED] wrote: Hi, For a lot of asynschronous calls, like the effects, jQuery provides completion callbacks which are very useful. Unfortunately it doesn't provide completion callbacks for events. How am I able to know when an event

[jQuery] Re: i was patient, now i'm frustrated

2008-09-27 Thread Giovanni Battista Lenoci
ricardobeat ha scritto: As of now www.jquery.com and docs.jquery.com are loading faster than ever, and I'm in Brazil! I'm from italy, docs.jquery.com loads in about a minute: http://lab.gianiaz.com/docs.jquery.com.jpg -- gianiaz.net - web solutions p.le bertacchi 66, 23100 sondrio (so) -

[jQuery] Re: [validate] jQuery validation plugin in Drupal

2008-09-27 Thread Jeroen Coumans
Thanks, I tried that but it doesn't seem to work. Drupal applies the classes required to required form fields, and they're picked up correctly. But any rule I add doesn't work at all. Even a single rule to make an extra field required doesn't get picked up. Would it help if I setup an example of

[jQuery] Re: jQuery and Zend Framework validation integration

2008-09-27 Thread Jörn Zaefferer
Whats comes closest to that is the validation plugin: http://bassistance.de/jquery-plugins/jquery-plugin-validation/ You can pass messages to the internal showErrors method: http://docs.jquery.com/Plugins/Validation/Validator/showErrors Jörn On Sat, Sep 27, 2008 at 11:56 AM, Jiří Němec [EMAIL

[jQuery] Re: [validate] jQuery validation plugin in Drupal

2008-09-27 Thread Jörn Zaefferer
Yes, an example would help a lot. Jörn On Sat, Sep 27, 2008 at 12:45 PM, Jeroen Coumans [EMAIL PROTECTED] wrote: Thanks, I tried that but it doesn't seem to work. Drupal applies the classes required to required form fields, and they're picked up correctly. But any rule I add doesn't work at

[jQuery] Re: jQuery and Zend Framework validation integration

2008-09-27 Thread Jiří Němec
Next idea, is there some jQuery API to trigger/display an error label associated with a specific form field? J. 2008/9/27 Jörn Zaefferer [EMAIL PROTECTED] Setup ajaxForm with dataType:json. Then your success-callback will get a parsed JavaScript object as the first argument.

[jQuery] infinite jQuery

2008-09-27 Thread Kris
Hi all, I'm really excited about jQuery, just as all the rest here. I've found out that it is really easy to create an animation. However, one day I stumbled upon the following question: is it possible to run one animation infinitely (repeat one statement the whole time, in my case). Is that

[jQuery] Portìng a Mootools ticker script to Jquery

2008-09-27 Thread simplr
All, new here and just wondering if anyone would pick up the challenge ;) I am a poor coder, I tried but can't figure it out. The thing is that I implement various jquery stuff in some projects and I feel comfortable with that. I do not want to mix mootools and jquery library, so it's all or

[jQuery] Re: Completion callback after events

2008-09-27 Thread debussy007
This is the concrete situation for which I cannot find a solution: I have several 'select' elements which contain information like: country, state, town. select size=1 name=country[...]/select select size=1 name=state[...]/select select size=1 name=town[...]/select When a country is selected, I

[jQuery] How can I use remote option in asp.net

2008-09-27 Thread Sun
Hi, everybody I have some questions for the remote option in asp.net page, If I have some value need to be verified in order to make it is unique, for example: . . userName:{ required: true, remote: verify.aspx } about the verify.aspx, I don't know how to output the result. I

[jQuery] Re: suggestion - enable() / disable() functions

2008-09-27 Thread Scott González
That could be easily reduced to this: $.fn.disable = function() { return this.attr('disabled', true).addClass('disabled'); } $.fn.enable = function() { return this.removeClass('disabled').attr('disabled', false); } On Sep 26, 2:28 pm, livefree75 [EMAIL PROTECTED] wrote: I actually

[jQuery] Re: Can jQuery do it again and again?

2008-09-27 Thread Dave Methvin
I would have thought that jQuery would repeat the above process if I created another div with a class of box below the previous one. I can understand that, since it's the way CSS rules work. If you declare a CSS rule p.big { font-size: 200% } then any p with class big will have bigger text no

[jQuery] Form Plugin - JSON upload problem

2008-09-27 Thread Adam
Hi Mike and all I've read the documentation on uploading a file via the form plugin and JSON, but I simply can't get it to work. The form plugin dies as soon as I submit it... no error is thrown, but it posts the whole page like a normal form and no response is given. Here's my form code: form

[jQuery] Re: Form Plugin - JSON upload problem

2008-09-27 Thread Adam
It should be noted that the div id=add-m-i portion of the form is cloned and inserted when a user clicks a link. I think that part of the problem is that the plugin isn't detecting the value of the file input even though it is present in the data (seen via the console). On Sep 27, 11:06 am, Adam

[jQuery] Re: Completion callback after events

2008-09-27 Thread Dave Methvin
function selectTown(country, state, town) {         $('#country').val(country);         $('#country').change(); // - this will load the states in the select         // once the country has been selected         // and select element containing states has been populated, then do         //

[jQuery] how to submit features to someone else's plugin (masked input)

2008-09-27 Thread Eric C
Hello: I've added some features to Josh Bush's Masked Input plugin, but I can't seem to get in touch with him via his website. I've added a suggested setting, which suggests a character that would be used in a character position in the field, e.g. (.monthNumber).mask(99, {suggested: 0} ) will

[jQuery] mouseover / mouseout

2008-09-27 Thread eewan
Hey guys, I have problem and my programmer isn't around to help me :( Look at main page: http://www.mycitysolutions.com/ I used $('a.view').fadeTo('fast', 0.33) to fade out images on load and $('a.view').mouseover(function () { $(this).fadeTo('normal', 1); }); $(a.view).mouseout(function () {

[jQuery] problem with mouseover / mouseout

2008-09-27 Thread eewan
I'm trying to make script that has faded image at start 30%, after hover sets opacity to 100% and on mouse out puts it back to 30%. so i did this: $(document).ready(function(){ $('a.view').fadeTo('fast', 0.33);

[jQuery] Re: Can jQuery do it again and again?

2008-09-27 Thread Jonathan
If you used each then it should repeat for each DIV with the class of box on the page. $(document).ready(function(){ $(div.box).each(function() { $(div.box *).wrapAll('div class=inside/div'); $(div.box).append('div class=tl/div'+'div class=tr/div'+'div class=bl/div'+'div

[jQuery] Re: infinite jQuery

2008-09-27 Thread Michael Geary
No, a hard loop like while(true){} will not do you any good in any browser, now or in the foreseeable future. I doubt if it will work in Flash or Sliverlight either. It doesn't crash your browser, it merely locks it up. After all, it *is* an infinite loop. Most browsers will eventually put out a

[jQuery] Greetings from Boston/AJAX Experience

2008-09-27 Thread MorningZ
So i'm at the hotel bar of the conference's hotel for this weeks event, i'll be running some items on my blog with pictures and some talk of tomorrow's jQuery Event and then Mon-Wed's AJAX Experience Today is just a travel and relax day as I flew up from Florida this morning and am awaiting my

[jQuery] Control form submitting

2008-09-27 Thread Jiří Němec
Hi all, is there some way how to control form submittin within succes or error calback functions within beforeSubmit callback function? In my my code I validate form data at client side, when form is valid I send data to server by callback function beforeSubmit. Server does another validation

[jQuery] Re: Traversing table

2008-09-27 Thread Oreste
On Sep 8, 10:38�pm, Jayzon [EMAIL PROTECTED] wrote: What I'd like to do: If an input filed is focussed, a price should be calculated. To keep the script as efficient as possible, I want to travel up from the input field to thecellabove it (i.e. one row up, second or thirdcellin that row). My

[jQuery] R: [jQuery] mouseover / mouseout

2008-09-27 Thread diego valobra
Ifixer try this $('a.view').css('opacity',0.33); $('a.view').hover(function() {     $(this).stop().animate({     opacity : 1     }, 600);     },     function(){     $(this).stop().animate({     opacity : 0.33     }, 800); }); Diego Valobra --- Sab 27/9/08, eewan

[jQuery] Re: how to submit features to someone else's plugin (masked input)

2008-09-27 Thread fabiomcosta
was my last mail sent?... On Sep 27, 12:16 pm, Eric C [EMAIL PROTECTED] wrote: Hello: I've added some features to Josh Bush's Masked Input plugin, but I can't seem to get in touch with him via his website. I've added a suggested setting, which suggests a character that would be used in

[jQuery] Re: R: [jQuery] mouseover / mouseout

2008-09-27 Thread eewan
Thank you very much - it worked like charm. I'll try to understand every step of the way :) On Sep 27, 7:00 pm, diego valobra [EMAIL PROTECTED] wrote: Ifixer try this $('a.view').css('opacity',0.33); $('a.view').hover(function() {     $(this).stop().animate({     opacity : 1   

[jQuery] Re: Control form submitting

2008-09-27 Thread Xmode
why dont you do the checks before submit? Example: Inside submit function... make sure you got a div to display errors: var err = jQuery('#error'); //div name=error id=error form.submit(function(evt) { //submitting the form //then check to see if inputs are correct...

[jQuery] Designing ajax applications / DOM issues

2008-09-27 Thread silk.odyssey
I am getting started with jQuery and I think I understand the basics. I want to get into ajax and while I can communicate with the server I don't know exactly how to structure my application so that everything fits together. What happens is that I would try to apply effects to elements that don't

[jQuery] jquery.form not working (comment system using jquery)

2008-09-27 Thread Xmode
Im trying to integrate a comment system using jquery into my project but it doesn't work I need some help finding where the error could be: javascript: script type=text/javascript $(document).ready(function() { jQuery('#newComment').after('div id=error/div');

[jQuery] Re: Designing ajax applications / DOM issues

2008-09-27 Thread Ryura
You'll want to look into the Live Query plugin: http://plugins.jquery.com/project/livequery/ On Sep 27, 2:55 pm, silk.odyssey [EMAIL PROTECTED] wrote: I am getting started with jQuery and I think I understand the basics. I want to get into ajax and while I can communicate with the server I

[jQuery] re[jQuery] -bind, only on first add

2008-09-27 Thread johannesf
Hi I have some problem to re-bind after adding data to a page using append and a click-function, never used that before! If I add one textTag that one can use the removeTag but if I add more then one textTag I get alla the alerts test on the first add and the rest gest none?? Some advise

[jQuery] Re: re[jQuery] -bind, only on first add

2008-09-27 Thread johannesf
hmm, I just found out that if I use after insted of append, things are working... like this: $('#theTags').after(textTag + ' a href=\/text/removetag/tagid/' + i + '\ id=\removeTag\ class=\underline\ x /a '); how to explain that? / johannes -- View this message in context:

[jQuery] Find all li tags without an a tag inside

2008-09-27 Thread flycast
I am stumped. I have nested unordered lists. I want to attach a click event to all the list items that do not directly contain an a tag. Attach a click event to: liList item without link/li Do not attach click event to: lia href=Link 1/a/li I have this code which attaches the event to both

[jQuery] Re: suggestion - enable() / disable() functions

2008-09-27 Thread livefree75
So it could! Thanks! On Sep 27, 9:59 am, Scott González [EMAIL PROTECTED] wrote: That could be easily reduced to this: $.fn.disable = function() {     return this.attr('disabled', true).addClass('disabled'); } $.fn.enable = function() {     return

[jQuery] Re: Find all li tags without an a tag inside

2008-09-27 Thread Rene Veerman
dunno if there's a simple jquery way of doing it, but you could do: $('#LHNav li').each(function(){ if ($(' a',this).length==0) { //no A href, add it } else { //do something else } }); flycast wrote: I am stumped. I have nested unordered lists. I want to attach a click

[jQuery] Re: problem with mouseover / mouseout

2008-09-27 Thread Rene Veerman
try this plz $(document).ready(function() { $('a.view').hover(function() { $(this).stop().fadeTo ('normal', 1); }, function () { $(this).stop().fadeTo ('normal', 0.33); }); }); eewan wrote: I'm trying to make script that has faded image at start 30%, after hover sets

[jQuery] My scripts executes two times a controller

2008-09-27 Thread debussy007
Hi, All my controllers which are located in the default module extends 'MyZend_Default_Controller_Action' which extends 'MyZend_Default_Common_Action' which finally extends Zend_Action_Controller When I do a request for the main page (IndexController/indexAction), the scripts executes once the

[jQuery] Re: Find all li tags without an a tag inside

2008-09-27 Thread besh
Hi, you can try the .filter(fn) method: $('#LHNav li').filter(function() { return !$(this).children('a').length; }).bind('click', function (){...}); -- Bohdan Ganicky

[jQuery] Re: re[jQuery] -bind, only on first add

2008-09-27 Thread Mauricio (Maujor) Samy Silva
append() == add inside after() == add after - Suppose the following plain HTML: div id=theTags Content inside div /div - append() $('#theTags').append(textTag + ' a

[jQuery] Re: i was patient, now i'm frustrated

2008-09-27 Thread ricardobeat
Something wrong there. Loads in about 5 seconds here, sometimes faster. Maybe it's a traffic issue between the USA and Europe? On Sep 27, 6:36 am, Giovanni Battista Lenoci [EMAIL PROTECTED] wrote: ricardobeat ha scritto: As of no.jquery.comand docs.jquery.com are loading faster than

[jQuery] Re: i was patient, now i'm frustrated

2008-09-27 Thread ricardobeat
alas, it is very likely a traffic issue. Did you notice one of the requests that took 17 seconds to complete is from google- analytics.com ? On Sep 27, 9:12 pm, ricardobeat [EMAIL PROTECTED] wrote: Something wrong there. Loads in about 5 seconds here, sometimes faster. Maybe it's a traffic

[jQuery] I want to reduce the header calls

2008-09-27 Thread jeremyBass
Hello, I want to reduce the header calls for a flash file used repeatedly on a page. There are 24 HTTP requests for a file that is already downloaded.. So My question is how would I call it once and then not again for the rest of the page? the code area is like this ex.1) src: (p.path ||

[jQuery] add/remove with ordered information

2008-09-27 Thread claudes
i have built a simple add/remove chapter form. when add new chapter clicked; ajax get fired, retrieves php file, and appends new chapter. newly appended chapter is a li added to ol#append-chapter. the script also keeps track of chapter count and displays current chapter count in h4. issues: 1.

[jQuery] Re: My scripts executes two times a controller

2008-09-27 Thread Rey Bango
Hmmm. This doesn't seem to relate to jQuery. If this is Zend-related, your best bet would be the Zend support forum. Rey... debussy007 wrote: Hi, All my controllers which are located in the default module extends 'MyZend_Default_Controller_Action' which extends

[jQuery] Re: Find all li tags without an a tag inside

2008-09-27 Thread Dave Methvin
Attach a click event to: liList item without link/li Do not attach click event to: lia href=Link 1/a/li How about this? $(li).not($(li:has(a))).click( ... )

[jQuery] puzzles with siblings

2008-09-27 Thread mouqx xu
the following is the example taked from http://docs.jquery.com/Traversing/siblings#expr; The third li in the first ul does not colored with red in my FF3.0.3 and IE6.0 I supposed this is a bug. by the way, the style in IE6.0 is ugly !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN

[jQuery] jFrame does load with IE7

2008-09-27 Thread yvonney
Hi All... Great to be here... So, I've finally managed to get my some lumbering code I pieced together to work with FF3. Doesn't do a thing in IE7. I know I'm not giving much to go on though I would love to hear that other are having similar problems before I attempt to be clearer. Many thanks

[jQuery] Scrolling animation problem in Safari

2008-09-27 Thread Kim
Hi, Firstly, excuse my newbness if I am asking a stupid question. I have a click function on a list span that scrolls down to the top of the list to make sure the about to be revealed content is in the viewport and then shows the content. My problem is that in Safari, Opera Chrome, when

[jQuery] Re: jFrame does load with IE7

2008-09-27 Thread Rey Bango
Hi, Unfortunately, that's not a whole lot to go on. We really need some code to look at and preferably a link that lets us see the action. Rey... yvonney wrote: Hi All... Great to be here... So, I've finally managed to get my some lumbering code I pieced together to work with FF3. Doesn't

[jQuery] Re: Traversing table

2008-09-27 Thread Dave Methvin
I think you want an event handler for the input elements. Maybe something like this? Instead of finding the column in the row above, I just looked for the Nth price in the row above. That turned out to be the most complicated part. The DOM defines a .rowIndex property for TR elements but there is

[jQuery] form select...

2008-09-27 Thread GARIL
How do I use jQuery to determine which item was selected from the forms below? Thank you for the help. form Select your favorite fruit: select id=fruits optionApple/option optionOrange/option optionPineapple/option optionBanana/option /select /form form Select your favorite fruit:

[jQuery] Re: form select...

2008-09-27 Thread Alex Weber
$('#fruits').val() On Sep 28, 2:12 am, GARIL [EMAIL PROTECTED] wrote: How do I use jQuery to determine which item was selected from the forms below? Thank you for the help. form Select your favorite fruit: select id=fruits   optionApple/option   optionOrange/option