August 3rd, 2000, 05:41 AM
This is the code i am having the htm file
<form name=one action=yen.php3>
<input type=text name=a>
<input type=text name=b>
<input type=button name=c value=click>
when i am clicking this button the values should be passed to the yen.php3 file.
somebody says we can pass that using querystring. how it will be .
please help me ..
August 3rd, 2000, 06:24 AM
you can do that but why you need to do with out a submit button.Any way you will have to submit your form otherwise you can't pass the information to your script page.
see you can do with java script..try some thing like following...
//check it out wether above syntax is correct or not..
<form name="formname" action="yen.php3">
<input type="text" name="a">
<input type="text" name=b>
<input type="button" name="c" value="click" onClick="submit();">
Doing form submition with java script is not a good idea..What i would suggest is that use Submit button to submit your form...
"The fear of the LORD is the beginning of knowledge..."
[This message has been edited by Shiju Rajan (edited August 03, 2000).]
August 5th, 2000, 07:53 AM
You have to nothing bu just submit the form in the onClick event of the button u r including i.e use this code to make button:
<input type=button name=c value=click onClick="one.submit(true);">
submits the form.
Then Best Of luck