Categories: Report an Issue and Get Troubleshooting Help : Linux :

element properties not being correctly reported in javascript

Showing 1-1 of 1 messages
element properties not being correctly reported in javascript ooobleck 6/1/12 12:53 PM I'm experiencing a problem with a DOM element, call it "el". In my javascript, I ask for el.offsetTop and I get 0. That can't be right, since it's down  a ways in the div. So, I went into the debugger, and opened the Elements panel, and the offsetTop