$("#myform").validate({
    errorPlacement: function(error, element) {
        if(element.attr('id') == "dateselect") {
                error.appendTo("#errordiv");
        } else {
                error.insertAfter(element);
        }
    }
});

- David

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Rick Faircloth
Sent: Friday, March 09, 2007 4:49 AM
To: 'jQuery Discussion.'
Subject: Re: [jQuery] Validation help with Date Selector

Did you ever figure out how to move the location
of the error message for your input?

Rick

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of blemming
Sent: Thursday, March 08, 2007 8:02 PM
To: discuss@jquery.com
Subject: Re: [jQuery] Validation help with Date Selector


You can style it with the css class "error"

I'm trying to move the location of it for one input.






_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/



_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to