[thelist] Brain fart html w/asp

Warden, Matt mwarden at mattwarden.com
Thu Apr 11 15:45:00 CDT 2002


On Apr 11, Rob Smith had something to say about [thelist] Brain fart html w/asp

>Hi thelist,
>
>I'm having a brain fart right now. I know how to do this in javascript, but
>how different is it in ASP with HTML
>
><input type="button" name="Ok" value="Ok" onClick(call doit())>
>
>Is the onClick part right or what do I need to do to call a function when
>the button is clicked without using javascript.

no, it's the same no matter the server-side language:

<input ... onClick="doit()">

assuming that doit() is a client-side function on that page. i.e. NOT an
ASP function

>can javascript call VBScript functions and the other way around?
>
>-or-
>
>Can you use Javascript and VBScript in the same page, sometimes working
>together?

yes, but you can't mix server-side and client-side (at least not directly
like you're talkin about).

--
mattwarden
mattwarden.com




More information about the thelist mailing list