jquery insert text
jquery insert text
hi, i have a h1 and select, i wanna know how can i insert the option in select in h1 tag.
like if a choose james, so jquery take the text james end rewrite in <h1> so the new <h1> will be james and will dissapear Choose Staff on the Right
<h1> Choose Staff on the Right </h1>
<select>
<option> Choose Staff Name</option>
<option> james</option>
<option> alex</option>
</select>