how to generate like this???

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kanchan
Forum Commoner
Posts: 80
Joined: Tue Nov 30, 2004 12:03 pm

how to generate like this???

Post 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....
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
Post Reply