[jQuery] Re: (validation) removal of error message problem

2009-09-23 Thread chief7
i can't reproduce on a test page. I updated to 1.5.5, but no change. the page in question is dynamically generated using AJAX data calls. i can see the error label in the js console: $(label.error).length 1 $(label.error).toHtml() LABEL class=error for=orders[4].elements[2].Value

[jQuery] Re: (validation) removal of error message problem

2009-09-23 Thread Jörn Zaefferer
Try this: $(label[for='orders[4].elements[2].Value']).length On Wed, Sep 23, 2009 at 3:17 PM, chief7 chi...@gmail.com wrote: i can't reproduce on a test page.  I updated to 1.5.5, but no change. the page in question is dynamically generated using AJAX data calls. i can see the error label

[jQuery] Re: (validation) removal of error message problem

2009-09-23 Thread chief7
This is an issue in IE7, IE8, FF3 and Chrome 3. On Sep 23, 8:17 am, chief7 chi...@gmail.com wrote: i can't reproduce on a test page.  I updated to 1.5.5, but no change. the page in question is dynamically generated using AJAX data calls. i can see the error label in the js console:

[jQuery] Re: (validation) removal of error message problem

2009-09-23 Thread chief7
Still 0. On Sep 23, 8:20 am, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: Try this: $(label[for='orders[4].elements[2].Value']).length On Wed, Sep 23, 2009 at 3:17 PM, chief7 chi...@gmail.com wrote: i can't reproduce on a test page.  I updated to 1.5.5, but no change. the

[jQuery] Re: (validation) removal of error message problem

2009-09-23 Thread chief7
I created a test page - http://pastie.org/627543 steps to reproduce: -open the page in a browser -add a letter to one of the amount inputs -click on another input -the validation should show -go back to the same input and remove the letter you added -the error should be hidden but its not On

[jQuery] Re: (validation) removal of error message problem

2009-09-23 Thread chief7
Cleaned up the test page: http://pastie.org/627561 On Sep 23, 10:35 am, chief7 chi...@gmail.com wrote: I created a test page -http://pastie.org/627543 steps to reproduce: -open the page in a browser -add a letter to one of the amount inputs -click on another input -the validation should

[jQuery] Re: (validation) removal of error message problem

2009-09-22 Thread chief7
looks like this issue is caused by the name of the input. the name is orders[5].elements[2].Value which an attribute selector won't find (ie. $(input[for=orders[5].elements[2].Value])), but if the name is elements[2].Value it works fine. the 'for' attribute selector is used on line 630 of

[jQuery] Re: (validation) removal of error message problem

2009-09-22 Thread chief7
fyi - using jquery.validate.js version 1.5.2 On Sep 22, 3:39 pm, chief7 chi...@gmail.com wrote: looks like this issue is caused by the name of the input.  the name is orders[5].elements[2].Value which an attribute selector won't find (ie. $(input[for=orders[5].elements[2].Value])), but if the

[jQuery] Re: (validation) removal of error message problem

2009-09-22 Thread Jörn Zaefferer
Please update to 1.5.5 - also, please provide a testpage, otherwise I can't help. Jörn On Tue, Sep 22, 2009 at 11:08 PM, chief7 chi...@gmail.com wrote: fyi - using jquery.validate.js version 1.5.2 On Sep 22, 3:39 pm, chief7 chi...@gmail.com wrote: looks like this issue is caused by the