输入Jquery的意外结束 [英] Unexpected end of input Jquery
本文介绍了输入Jquery的意外结束的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我遇到此错误,但是我在发布前检查了所有括号20次.还会有其他问题吗?谢谢!!!
I'm getting this error, but I CHECKED ALL the brackets 20 times before posting. Can there be another problem? Thanks!!!
var ifBlock = function (options) {
var options1 = options['entry']
var options2 = options['condition']
if (options1 != null && options2 != null) {
return eval("VB.interpreter.dictionary["+options1+"]" + " " + options2)
} else {
return false
}
}
推荐答案
通过 http://jsbeautifier.org/运行整个代码并检查您的总体脚本中是否缺少括号(可能是).
Run your whole code through http://jsbeautifier.org/ and check if you are missing some bracket in your overall script (which you probably are).
这篇关于输入Jquery的意外结束的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文