Page 1 of 1

how to generate like this???

Posted: Sun Dec 26, 2004 11:43 pm
by kanchan
suppose i have

<form method="POST" action="a.php">

number of text : <select size="1" name="D1">
<option>1</option>
<option>2</option>
<option>3</option>
</select></p>
<p><input type="submit" value="Submit" name="B1"></p>
</form>


and how to generate the text box on clicking the submit button according to the selection of combox box....

Posted: Mon Dec 27, 2004 12:07 am
by feyd
text box... like a popup? not a great idea, as people with Javascript disabled will lose access to your script. Depending on your requirements for compatibility, you may be able to use the target tag attribute, or use client-side processing to open the window... depends on your definition of text box.


please read and follow Posting Code in the Forums.