I would like to setup a form in HTML which contains input boxes I would like to parse values to and from these boxes into the embedded vbscript - can someone show me an example of how to do this. Many thanks.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
You need to read up on HTML and the IE DOM - Here's a basic example.

<INPUT TYPE=text VALUE="" NAME="textbox" SIZE=15>
<button onclick="sReadTextBoxVal()">Read value of textbox</button>
<SCRIPT>
function sReadTextBoxVal()
{
alert(textbox.value)
textbox.value = "Whatever you like"
alert(textbox.value)
}
</SCRIPT>
Answered 03/19/2005 by: WiseUser
Fourth Degree Brown Belt

Please log in to comment
0
Many thanks
Answered 03/21/2005 by: Naffcat
Senior Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity