Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Onclick event to pass parameters

Status
Not open for further replies.

kev05

MIS
Mar 15, 2005
32
GB
Hi,

I have an html page with a vbscript function.

I have a form in which i send the value to my vbs function.

In the below form, I'm passing 1 parameter and it does work:

function Runtest(iteration)
...
....
End function


<FORM name ="Input">

Please enter your iteration: <INPUT name=iteration><BR>
INPUT onclick="RunTest iteration.value" type=submit value=LaunchQTP name=RunTest>

</FORM>

- RunTest is the name of the function
- iteration is the name of parameter

Now I want to have another input field and want to pass more than 1 parameter to my vbs function- Any ideas how to do that?

thanks in advance,
Kev
 
I would try asking in the VBScript forum - forum329. This forum is for Server-side ASP


Tony
 
then you need to create another function that would accept two parameters...

-DNG
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top