IntelliJ Java IDE
The moose likes HTML, CSS and JavaScript and the fly likes offsetParent  unspecified error Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "offsetParent  unspecified error" Watch "offsetParent  unspecified error" New topic
Author

offsetParent unspecified error

ravindra patil
Ranch Hand

Joined: Sep 01, 2006
Posts: 190
HI ,
Is ther any work around for this error .. on IE8

i am getting error for line elem.offsetParent;

its on IE8 specific issue ?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
You need to show more code and give us the exact error message.

Eric
ravindra patil
Ranch Hand

Joined: Sep 01, 2006
Posts: 190
no only this much of error its throwing

Line: 662
Error: Unspecified error.
where linr 662 is
if(this.field.offsetParent)

i googled it its IE8 bug if DOM structure refreshes it throws error for offsetParent.

n asking to put that code in try{} catch ..but i have many occurances of this offsetParent..


so if is there nay alternative it is most welcome


-Ravi
 
 
subject: offsetParent unspecified error
 
Threads others viewed
I keep getting on Javascript Error on the bottom left of IE
client side storage for firefox, chrome & IE
IE 8
How to determine CSS version used for a page?
Check file size with Javascript before uploading
developer file tools