HEEN
HEEN

Reputation: 4721

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

Upvotes: 0

Views: 149

Answers (1)

Norlihazmey Ghazali
Norlihazmey Ghazali

Reputation: 9060

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>

Upvotes: 4

Related Questions