Forum Moderators: open

Message Too Old, No Replies

Validation and an error

         

toplisek

4:43 pm on Mar 26, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I'm not sure but there is an error in Parsley validation like:
Error: SyntaxError: missing ; before statement
errorClass: 'alert alert-error',

Code like:



$('#newsletterform1').parsley({
successClass: 'success',
errorClass: 'alert alert-error',
errorsWrapper: '<span class=\"help-block\"></span>',
errorElem: '<span></span>'
});



Why is this?

coopster

9:18 pm on Mar 31, 2015 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I had to do a search to see what in the world "parsley" was first ;)
It seems you are running an outdated version of the jQuery plugin. Maybe update first, as suggested by the plugin developer(s)?

toplisek

2:06 pm on Apr 1, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



As I understand URL's should not be posted at this forum...Sorry.

coopster

9:35 pm on Apr 2, 2015 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



No worries. My point was that it is a funny plugin name. I think I'll name my next plugin carrots :)