我有一个带有输入字段的基本表单,它使用来自jQuery验证插件()的客户端验证。该表单在我们的生产站点上运行良好,但由于某些原因,当我将其插入优化测试时,我在所有IE中都收到了以下错误(FF、Chrome和Safari都很好):
Unable to get property 'setDefaults' of undefined or null reference
我的js脚本在下面..。
jQuery.validator.setDefaults({
debug: false //If true, the form is not submitted and certain