/build/static/layout/Breadcrumb_cap_w.png

Parsing values between HTML and vbscript

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

Answers (2)

Posted by: WiseUser 19 years ago
Fourth Degree Brown Belt
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>
Posted by: Naffcat 19 years ago
Senior Purple Belt
0
Many thanks
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ