当我使用下面的 JS FIDDLE 时,出现错误
Obout.Interface.OboutTextBox' 为 null 或不是 IE 中的对象。
我不知道这里有什么问题
我在第 308 行收到错误,即
Obout.Interface.OboutTextBox.prototype.applyCrossBrowserFixes = function (){}
这是我的小提琴
请提出什么问题
确保这些功能没有被文档准备好。只把它放在里面<script></script>
:
不像这样:
<script>
// or $(document).ready(function(){
$(function(){
function navigateThroughCells(sender, key, forced) { .... }
});
</script>
但是像这样:
<script>
function navigateThroughCells(sender, key, forced) { .... }
</script>