Jump to content

Javascript Calling Vbs File?


mtber
 Share

Recommended Posts

I am trying to execute an external VBS file from a javascript file if it is even possible. any help is appreciated...thanks.

<html><head><title>Title</title><link rel="stylesheet" language="text/css" href="index.css"/> <script type="text/javascript">function runscript(){		if(document.myForm.password.value == 'password')	{					}}</script> </head><body><center><form name="myForm" action=""><fieldset size="100px"><legend>Run Script</legend><table border="1" cellspacing="0" cellpadding="2"><tr><td class="options" align="right" valign="middle"><form><font class="options"><b>Enter User Name:</b></font></td><td align="center" valign="middle"><input type="text" size="40"><tr><td align="right" valign="middle"><font class="password"><b>Password:</b></font></td><td align="center" valign="middle"><input type="password" name="password" value="password" size="40"></td></tr><tr><td align="center" valign="middle" colspan="2"><input type="submit" value="submit" name="submit" onclick="runscript()"><input type="reset"></td></tr></form></td></tr></table></form></center></body></html>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...