views:

129

answers:

1

Hey Guys

I am getting several errors only on IE8 running on my vista OS. On the other browsers (Chrome, FF, Safari) everything works fine. Not sure where to begin looking.

When I open a new IE8 browser and enter the homepage URL of my website - I get the following error and the page opens up blank:

Line: 19
Character: 12043
Code: 0
Error Message: Object required
URL: http://xyz.com/js/jquery.js

Then in one other place - I have a modal form which has a text area - when I start typing - after typing every character - this error shows up

Line: 19
Character: 30711
Code: 0
Error Message: 'this[...].style' is null or not an object
URL: http://xyz.com/js/jquery.js

Thanks for your help

+2  A: 

First is, are you referring the correct object? I mean the ID or class exists in HTML? Put an alert message and see actually the object is coming.
second is, The ID name you are using should be unique and won't match with builtin event names.
Third is, Is the control server side? If yes, are you referring it correct?
And lastly, may be could be solution, Are you using any other javascript library like prototype or scriptaculous? If yes, then it's the time to use JQuery noconflict. Here is that explained.

JQuery no conflict with other libraries

Rare Solutions
thanks for the tips - let me dive into each of them - are they for both the errors that I am getting - also are they specific only to IE.
Gublooo
Hi Gubloo,There are some cases that in JQuery problems will come only in IE. Jquery datepicker used in ASP.NET causes problems in ASP.NET validations. And JQuery won't work correct if you have referenced other javascript libraries prototype etc...The above problems come only in IE most of the times. So, please check once and let me know, if you need any help.-Praveen
Rare Solutions