So i have a drop down menu, in each of the menu list there is a text .. how to do i get those text to print out on preview section of my html page?
Untitled Document
<body>
<h1>Word</h1>
<div id="controls">
<fieldset id="text">
<legend>Preview text</legend>
<ul>
<li>
<label><input type="radio" name="cc" value="Pre" id="pre" checked="checked" /> Pre: </label>
<select name ="dropdown">
<option selected="selected">Hello World.</option>
<option>How is your days going?.</option>
<option>I <3 You.</option>
</select>
</li>
</ul>
</fieldset>
<div id="preview">
<fieldset>
<legend>Preview</legend>
<p></p>
</fieldset>
</div>
</body>
you can use this code.just copy and paste it