Intellisense for Javascript - not correct in Visual Studio 2010
- by Finglas
var obj = document.getElementById("header");
Given the above code snippet, I should be able to wire event handlers. For example, I can wire onMouseDown to the mouse down event, the issue is that Visual Studio does not display this in the Intellisense.
I've tried this on both a standalone Javascript file, as well as an MVC project to no luck.
Is there anything I'm doing wrong - or is there a way to resolve this?