Jump to content

java script form manipulation


ltbaggz

Recommended Posts

dont know too much about javascript and i need to do some form manipulation with it.  basically i want to take the info from a normal input text value into a select option box using the onlick event.
what is the best way to go about doing this?

[code]
<p>
<label for="type">Type:</label>
<input type="text" size="30" id="type" name="type" />
</p>

<input id="add_type" type="button" value="Create >>"  onClick="create_type();" />

<div id="types_entered">
Types<br />
<select name="input" multiple="multiple" size="4" >
<option value="15">insert value here </option>
</select>
</div>
[/code]
Link to comment
https://forums.phpfreaks.com/topic/33926-java-script-form-manipulation/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.