What I am trying to do is when a item is selected from my dropdown menu, it would make a input box appear with the description selected on the dropdown menu, so that it can be edited and updated back into the database,
I am unsure how to handle the javascript:
Dropdown Code:
<select name="captionSelect" id="captionSelect"> <?php foreach ($get_images as $image){ echo '<option value="'.$image['id'].'">'.$image['description'].'</option>'; }; ?> </select>