[jQuery] Re: jquery 1.3.2 error with $(':inp...@name=submit]')???

2009-08-02 Thread John Resig
Just remove the @ and it'll work fine.

--John


On Sun, Aug 2, 2009 at 12:07 PM, micorreo13 micorre...@gmail.com wrote:


 I was using jquery-1.2.6 and now, I started to use jquery-1.3.2, and I
 get my first difference: when I use the wrapped set operation $
 (':inp...@name=submit]') with jquery-1.3.2 it returns all input
 fields, but if I use it with jquery-1.2.6 it returns 0 (as espected).

 Is it an error with 1.3.2 version?What do you think I'm doing wrong?
 Thank you very much.

 P.S.: this wrapped set is used by jQuery Form Plugin and, if I have
 file uploads I get the alert 'Error: Form elements must not be named
 submit.' from the function fileUpload of this plugin.




[jQuery] Re: jquery 1.3.2 error with $(':inp...@name=submit]')???

2009-08-02 Thread waseem sabjee
remove the @ sign.
it is no longer needed.

On Sun, Aug 2, 2009 at 10:45 PM, John Resig jere...@gmail.com wrote:

 Just remove the @ and it'll work fine.

 --John


 On Sun, Aug 2, 2009 at 12:07 PM, micorreo13 micorre...@gmail.com wrote:


 I was using jquery-1.2.6 and now, I started to use jquery-1.3.2, and I
 get my first difference: when I use the wrapped set operation $
 (':inp...@name=submit]') with jquery-1.3.2 it returns all input
 fields, but if I use it with jquery-1.2.6 it returns 0 (as espected).

 Is it an error with 1.3.2 version?What do you think I'm doing wrong?
 Thank you very much.

 P.S.: this wrapped set is used by jQuery Form Plugin and, if I have
 file uploads I get the alert 'Error: Form elements must not be named
 submit.' from the function fileUpload of this plugin.