Properties | Methods | Events |
activeElement | clear | onafterupdate |
alinkColor | close | onbeforeupdate |
bgColor | createElement | onclick |
body | createStyleSheet | ondbclick |
charset | elementFormPoints | ondragstart |
cookies | exeCommand | onerrorupdate |
defaultCharset | open | onhelp |
domain | queryCommendEnabled | onkeydown |
expando | queryCommandindeterm | onkeypress |
fgColor | queryCommandState | onkeyup |
lastModfied | queryCommandSupported | onmousedown |
linkColor | querycommandText | onmousemove |
location | queryCommandValue | onmouseout |
parentwindow | write | onmouseover |
readyState | writeln | onmouseup |
referrer | onreadystatechange | |
selection | onrowenter | |
title | onrowexit | |
url | onselectstart | |
vlinkColor |
Here's
JavaScript and VBScript Syntax
![]() |
![]() |
<script
language="vbscript"> <!-- Sub SayHello() MsgBox "Hello world" End Sub --> </sctipt> |
<script
language="javascript"> <!-- function SayHellow(){ alert ("Hello world!"); } //--> </script |
Here's JavaScript that uses the onClick event |
<html> <head><title>Test1</title></head <script language="JavaScript"> <!-- function Siteshow() { var popup = window.open("Wbanner.htm", "WIN", "toolbar=no,location=no,menubar=no,width=300,height=300"); } // --> </script> <body> <form name="form1"> <input type="button" name="button1" value="Slide Show" onClick="Siteshow();"> </form> </body></html> |