开发者

how to handle this error in jquery library

开发者 https://www.devze.com 2023-04-10 14:56 出处:网络
I am using particular library for constrain on my textbox it giving me following error. How can I resolve it...

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 /*.

0

精彩评论

暂无评论...
验证码 换一张
取 消