Oh ! Thank you !

This comma was not in the first example of the plugin's author !




spinnach wrote:
> 
> 
> you're missing a comma after 'event: "keyup"', it should be ' event: 
> "keyup",'
> 
> dennis.
> 
> debussy007 wrote:
>> 
>> Hi, I am trying to use the Validation plug-in but I have the following
>> error
>> :
>> 
>> missing } after property list
>> [Break on this error] rules: {\n
>> 
>> 
>> 
>> Here is the simple code :
>> 
>> $("#form_contact").validate({
>>       event: "keyup"
>>       rules: {
>>                      "lastname": "required"
>>       },
>>       messages: {
>>                      lastname: {
>>                              required: function(element, validator) {
>>                                      return "Indiquez votre nom de famille."
>>                              }
>>                      }
>>       }
>> });
>> 
>> 
>> Thank you for any help !
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Validation-Form-problem-tf4253929s15494.html#a12106844
Sent from the JQuery mailing list archive at Nabble.com.

Reply via email to