Obout.Interface.OboutTextBox' is null or not an object 错误

Obout.Interface.OboutTextBox' is null or not an object error

当我使用下面的 JS FIDDLE 时,出现错误

Obout.Interface.OboutTextBox' is null or not an object in IE.

我不知道这里有什么问题

我在第 308 行收到错误

Obout.Interface.OboutTextBox.prototype.applyCrossBrowserFixes = function (){}

这是我的Fiddle

有什么问题请指教

确保那些函数没有被文档准备好环绕。仅将其放在 <script></script> 内:

不是这样的:

<script>
// or $(document).ready(function(){
$(function(){
  function navigateThroughCells(sender, key, forced) { .... }
});
</script>

但是像这样:

<script>
  function navigateThroughCells(sender, key, forced) { .... }
</script>