Hello,
I have a couple of questions regarding HTML controls in VS.Net 2003:
Firstly, when I add an HTML control to an .aspx page, how do I add
client-side script to it? The 'View Client Script' menu option is disabled.
Secondly, how to I get JavaScript functions/methods to appear in the
IntelliSense? For example, in the following:
function Text1_onblur() {
Text1.value = Text1.value.toUpperCase();
}
I get a list after I type "Text1." (from which I choose 'value'), but not
after "Text1.value." (for me to select 'toUpperCase()').
Thanks.
Sheila Jones - 17 Feb 2004 14:50 GMT
Well, I've found the answer to the first question: the 'view client script'
option only works if the page is a .htm file, not if it's an .aspx file. So
presumably, you have to use a .htm file to develop and test the client side
stuff, then cut and paste it into an .aspx file... How dopey is that?
Any takers for my second question - about getting IntelliSense to work
correctly with JavaScript code?
> Hello,
>
[quoted text clipped - 12 lines]
>
> Thanks.