Click to See Complete Forum and Search --> : vbScript vs javaScript in ASP page
shvonne
July 22nd, 1999, 03:23 AM
can i use both VBscript and javaScript in an ASP page? vbScript is run at server which deal with database and javaScript is run on client(browser)???
thanks in advance for the helps...
shvonne ^o^
Lothar Haensler
July 22nd, 1999, 03:27 AM
you can use both scripting languages on both the server and the client in one page.
(VBScript OTOH is only understood by IE.)
shvonne
July 22nd, 1999, 04:24 AM
mr lothar,
thanks for the information.
is it means that if i'm using Netscape to browse to a page which content vbscript run at server and javaScript run at client, it work?
Iulian Iuga
July 22nd, 1999, 04:39 AM
You can use both vbscript and javascript in script side of ASP page:
<SCRIPT LANGUAGE="javascript">
</script>
But in server side of ASP pages you can use only vbscript.
Iulian Iuga
July 22nd, 1999, 04:45 AM
Sorry but the old message isn't completed.
You can use both vbscript and javascript in script side of ASP page:
<SCRIPT LANGUAGE="javascript">
</SCRIPT>
<script language="vbscript">
</script>
But in server side of ASP pages you can use only vbscript.
Lothar Haensler
July 22nd, 1999, 06:16 AM
yes, you can run an ASP from a Netscape browser and have client-side scripting in JavaScript and server-side scripting in VBScript or JScript.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.