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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Onclick event

Status
Not open for further replies.

kev05

MIS
Mar 15, 2005
32
GB
Hi,

I have an html file 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
 
Probably best to ask in a VBScript forum for this. I know that there is HTML involved, but other than adding another input to the page, I think the majority of your solution lies in VBScript changes.

Cheers,
Jeff

[tt]Jeff's Page [/tt][tt]@[/tt][tt] Code Couch
[/tt]

What is Javascript? faq216-6094
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top