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

146 views Asked by At

When I use my below JS FIDDLE, I get error as

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

I don't know what is the issue here

I get error at line no 308 which is

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

Here is my Fiddle

Please suggest what is wrong

1

There are 1 answers

18
Norlihazmey Ghazali On BEST ANSWER

Ensure those function is not wrapped around by document ready. Place it only inside <script></script> :

Not like this :

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

But like this :

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