[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.webtools] JavaScript validation errors/warns I cannot solve

Hi, I'm using the setup described in the attachment. Activated a JavaScript support for my PyDev project, because I have some JS code there, then added Firefox Browser Support Library.

But still I'm experiencing Problems I'm unable to solve while developing a special kiosk app for single browser. I'd be happy with merely masking these errors, but I couldn't find that options as I don't want to turn off entire error classes.

I'm not very strong in JS so I'll appreciate a point to where the code is wrong.

"event cannot be resolved"
Line:
<body onmousedown="event.preventDefault()"> <!-- disables image dragging in Firefox -->

"style cannot be resolved or is not a field"
Line:
(<span style="color: blue; cursor: pointer;" onclick="var s=document.getElementById('debugQueryTable').style;s.display=s.display=='none'?'':'none';this.innerHTML=this.innerHTML=='Show'?'Hide':'Show'">Show</span>)

"options cannot be resolved or is not a field"
Line:
var o = document.getElementById('id_publisher').options;