Welcome to WebmasterWorld Guest from 54.163.210.170

Forum Moderators: open

Message Too Old, No Replies

Validation and an error

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

Senior Member

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

joined:Oct 25, 2006
posts: 1055
votes: 1


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?
9:18 pm on Mar 31, 2015 (gmt 0)

Administrator

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 31, 2003
posts:12548
votes: 2


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)?
2:06 pm on Apr 1, 2015 (gmt 0)

Senior Member

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

joined:Oct 25, 2006
posts:1055
votes: 1


As I understand URL's should not be posted at this forum...Sorry.
9:35 pm on Apr 2, 2015 (gmt 0)

Administrator

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 31, 2003
posts:12548
votes: 2


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

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members