how to handle this error in jquery library
I am using particular library for constrain on my textbox it giving me following error. How can I resolve it...
$.constrain usage:
//jquery.constrain.js: 5Uncaught SyntaxError: Unexpected iden开发者_如何学Ctifier
link for library is at
http://jsfiddle.net/U9N63/
add //
before this line, looks like a part of a comment
The code you posted is not actually JavaScript code, but is a JavaScript comment excerpted from this plugin source file. Note the /*
and */
wrapping several lines of text at the top of that file. Those character sequences represent the beginning and end of multi-line comments in JavaScript. Most likely, your file is missing at least the opening /*
.
精彩评论