logo       

[jQuery] Re: What am i doing wrong????: msg#02910

jQuery

Subject: [jQuery] Re: What am i doing wrong????

This problem occurs when a comma is missing. Post your entire code of the validation.

On Fri, Jul 31, 2009 at 16:00, PictureMan <polskystudios@xxxxxxxxx> wrote:

When I add this rule to a page with the other rules, my page stops
validating.
Works fine if I don't add it.

What this is for is a check box next to a input box.  IF the check box
is checked, the field is mandatory.

OtherCruiseLine: {
       required: function(element) {
       return $("input[name='CruiseLinesPicked'][value='Other']").is
(':checked');
}

without this rule the page validates.  With this I get an error of:
missing } after property list.

But not sure what's wrong..


Thanks!



Google Custom Search

News | Mail Home | sitemap | FAQ | advertise