我正在使用 jquery mobile 1.4.2 和脚本 1.11.0
我已经阅读过之前提出的有关此问题的问题,但我不知道如何在我的代码中使用。
这是我的代码
script
jQuery("input[name^='cat']").bind(jQuery.browser.msie ? 'click' : 'change', function(event) {
var id = jQuery(this).attr('id');
mantener_seleccion(id);//its a function name
});
如果我运行它,它会显示这样的错误“TypeError:jQuery.browser未定义”
请任何人帮助我。
只需在您的 code.work 中添加以下脚本即可。
<script src="http://code.jquery.com/jquery-migrate-1.0.0.js"></script>
请参阅此链接了解更多信息。https://github.com/Studio-42/elFinder/issues/469 https://github.com/Studio-42/elFinder/issues/469
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)