Question:
How can I do in JavaScript like this ya.. when I select open, button Open will appear.
if selected = 'open'
out='Open Button'
else if selected ='edit'
out='Edit Button'
else
out='Closed button'
Button = <input type="submit" name="Open" id="button" value="submit">
selected = <select name="select" id="select">
<option value="Open">Open</option>
<option value="Edit">Edit</option>
</select>
Arhh really noob in that case.. sorry
as you question asks see if this helps
// new function might help with your newly still hard to understand requirements