javascriptasp.netgridviewgridobout

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


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


Solution

  • 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>