Treehouse: Grow your CSS skills. Land your dream job.

Jquery Validation + IE6

  • # April 29, 2010 at 10:11 am

    Hey gang,

    Long time reader, first time poster.

    I am having an issue when using the JQuery validation plugin when it comes to IE6. If I use the inline method of giving the form elements the appropriate validation classes (required, email etc.) it seems to work fine.

    However, if I do the rules and messages in the script thusly:


    rules: {
    ctl00$Content$Firstname: {
    messages: {
    ctl00$Content$Firstname: {
    required:”Please enter your first name.”,

    It breaks JS on the page in IE6. Any ideas? I am something of a newcomer to JQuery and this issue is very frustrating.

    # April 29, 2010 at 11:46 am

    Never mind, I figured it out. In my foolishness I failed to realise I had some extraneous commas floating about between values. Apparently IE6 fails to parse these.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.