[jQuery] Picking an element from a set

2009-05-14 Thread Buzzterrier
Sorry, I am sure this is a simple question but I cannot figure it out. I have : div class=testfoo/div div class=testbar/div div class=testbaz/div div class=testbif/div I have a selector: $(div.test)[2].fadeOut(); This gives a console error: Error: $(div.test)[2].fadeOut is not a function

[jQuery] What does === equate to?

2007-08-01 Thread Buzzterrier
I am getting a exception when jquery is processing a successful ajax call on line 339 of the most recent release: if ( fn.apply( obj[i], args || [i, obj[i]] ) === false ) break; The error is that fn is void, and the onreadystatchange function, catches the exception and changes the status from

[jQuery] Chaining methods

2007-05-02 Thread Buzzterrier
I made a plugin called toggleText. I want to chain this to a jquery object and toggle the text. I also want to add a click event to the jquery object. If I just use the toggleText plugin, it works. But if I also add the click handler, I get the following error: Error:

[jQuery] Re: Multiple form submit issue

2007-04-19 Thread Buzzterrier
. $('form.photoForm').ajaxForm(options); ... $('input.btnPhotos').click(function(){ $(this.form).submit(); return false; }); That should work. Mike On 4/18/07, Buzzterrier [EMAIL PROTECTED] wrote: Hi Mike, Thanks for the response. When I use this method, it does hit

[jQuery] Multiple form submit issue

2007-04-18 Thread Buzzterrier
Hello, I am using the forms plugin, and have a page that dynamically creates multiple forms for editing photos. Each form has a button, that has a click event is added to it, which submits the form. I am having problems getting the click event to submit the form so that the ajaxSubmit() fires.

[jQuery] Re: Multiple form submit issue

2007-04-18 Thread Buzzterrier
(); }); ... a href=# id=submitAnchorSubmit/a On Apr 18, 3:49 pm, Mike Alsup [EMAIL PROTECTED] wrote: Hi Buzz, Try replacing this line: this.form.submit(); with this: $(this.form).ajaxSubmit(); Mike On 4/18/07,Buzzterrier[EMAIL PROTECTED] wrote: Hello, I am using the forms plugin, and have

[jQuery] Getting option text from select

2007-04-09 Thread Buzzterrier
Is there a way to get the selected option's text from a select-one control? The form plugin returns the value, but I cannot seem to find a way to get the text.

[jQuery] Re: Getting option text from select

2007-04-09 Thread Buzzterrier
recall what project it was for, but I know it worked. andy -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Buzzterrier Sent: Monday, April 09, 2007 1:20 PM To: jQuery (English) Subject: [jQuery] Getting option text from select Is there a way

[jQuery] Re: jquery form plugin

2007-04-06 Thread Buzzterrier
Hi Mike, Still new to all of this, but I used this: $('#myAnchor').click(function() { ('#myForm').submit(); }); With the thought that the anchor would now fire the form's submit event, which should be no different than a submit button. This seems to work fine, but I am not an expert. On

[jQuery] Error with response after form submit

2007-04-04 Thread Buzzterrier
I am new to jquery and am trying to get the form plugin to work correctly. The success callback is not getting called, and I am getting the following error: jQuery(options.target).attr(innerHTML, data).evalScripts is not a function I am at a complete loss (I must say that jquery is far harder