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: > > >>$("label.error").length > 1 > >>$("label.error").toHtml() > > "<LABEL class=error for=orders[4].elements[2].Value > generated="true">Only numeric values are permitted.</LABEL>" > > but the 'for' attribute selector in the errorsFor method doesn't > work. it doesn't work from the console either: > > >>$("label([for='orders[4].elements[2].Value'])").length > > 0 > > On Sep 22, 4:48 pm, Jörn Zaefferer <joern.zaeffe...@googlemail.com> > wrote: > > > > > 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 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.validate.js > > > >> On Sep 22, 7:32 am, chief7 <chi...@gmail.com> wrote: > > > >> > the validation error message isn't removed/hidden after i fix an > > >> > invalid input. If I make the input invalid again another error > > >> > message is appended below the first error message. > > > >> > error messages are added/removed appropriately on all other pages. > > >> > this problem is only occurring on one page.- Hide quoted text - > > > >> - Show quoted text -- Hide quoted text - > > > - Show quoted text -- Hide quoted text - > > - Show quoted text -