Hi all. I have stuck up with a new problem.Hope anyone can find some solution for that.
I have three radiobuttons and the situation is that on click of each radio button a new php page is to be opened. I have done it using submit button. But actually it has to be done ON CLICK of the radiobuttons on not on SUBMIT.
The code i used for submit is given below. PLz help to customize this code so as to be helpful to satisfy the demanded situation
Thanks and Regards
TechnoAtif
[PHP]<form name="myForm" action="log_in. php" method="get">
<input type="radio" name="r" value="archilog in.php" selected="selec ted" onclick="this.f orm.action=this .value;"> Architects<br>
<input type="radio" name="r" value="conslogi n.php" onclick="this.f orm.action=this .value;"> Consultants<br>
<input type="radio" name="r" value="varlogin .php" onclick="this.f orm.action=this .value;"> Others<br>
<input type="submit" value="Submit">
</form>[/PHP]
I have three radiobuttons and the situation is that on click of each radio button a new php page is to be opened. I have done it using submit button. But actually it has to be done ON CLICK of the radiobuttons on not on SUBMIT.
The code i used for submit is given below. PLz help to customize this code so as to be helpful to satisfy the demanded situation
Thanks and Regards
TechnoAtif
[PHP]<form name="myForm" action="log_in. php" method="get">
<input type="radio" name="r" value="archilog in.php" selected="selec ted" onclick="this.f orm.action=this .value;"> Architects<br>
<input type="radio" name="r" value="conslogi n.php" onclick="this.f orm.action=this .value;"> Consultants<br>
<input type="radio" name="r" value="varlogin .php" onclick="this.f orm.action=this .value;"> Others<br>
<input type="submit" value="Submit">
</form>[/PHP]
Comment