mtber Posted June 26, 2009 Share Posted June 26, 2009 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 More sharing options...
justsomeguy Posted June 26, 2009 Share Posted June 26, 2009 Where are you trying to do that? I don't see code that does anything like that. You can run a VBscript file in IE, but it's not going to work in other browsers. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.