gnanesh
08-20-2003, 11:29 AM
I have a form where in i need to show one more form when the user clicks on some button or href, Let me know how do i do that,
|
Click to See Complete Forum and Search --> : Getting different form gnanesh 08-20-2003, 11:29 AM I have a form where in i need to show one more form when the user clicks on some button or href, Let me know how do i do that, zachzach 09-12-2003, 06:26 PM ok a couple of thing 1.)wha,huh,and what are you talking about: forms....textbox,button,<fom></form> 2.)be clearer....form in form? if im correct, you have a text box and when a user clicks a link another textbox appears? then use this code: <script language="javascript"> function showform() { FORMCONTAINER.innerHTML='<form name=form1><!-- you can change the input type from here...--><input type=text name=input1><input type=text name=input1><!--....to here--><input type="submit"><input type="reset" value="clear"></form>' } </script> <div id="FORMCONTAINER"> <form> <!-- you can change the input type from here...--> <input type=text name=input1 size="20"> <!--....to here--> <input type="submit"><input type="reset" value="clear"> </form> </div> click one of these to show form: <a href="javascript:showform()">Show form text--you can edit this text</a> <br> ......or....... <input type=button onclick="javascript:showform()"> webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |