I'm not too good with VBScript but this should give you some ideas:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
window.onload = function()
document.getElementById('form1').onsubmit = form1OnSubmit;
var v = document.getElementById("input1").value;
v = document.getElementById("input2").value
form2_OnSubmit = False
<p><i>This demo is only for IE!</i></p>
<p><input id='input1' type='text' value='11111111'></p>
<p><input id='input2' type='text' value='2222222'></p>
...Do some stuff here...
Then the vbscript:
Not sure if the jscript function name has to be enclosed in a VB function but I had some other code going and that's what worked for me.
Anyhow thanks again and I hope this post helps some other people.
This topic is now closed. New replies are no longer allowed.