I think this can be done with javascript.
I have a job listings manager I've built. When a person logs in to edit one of the job postings I need some help. Right now I've got the following code to edit the type of job:
<tr>
<td align="left"><b><font face="Tahoma, Verdana, Arial, Helvetica, sans-serif" color="#000000" size="1">Type: </font></b></td>
<td align="left"><input size="50" maxlength="150" type="text" name="type" value="<?php echo $row->type; ?>"></td></tr>
What I would like to do is put a <select> box in the row below this, where the user can select the "type" from the drop-down list and when they select one, it automatically updates the <input name="type"> box.
Thanks for any help!