IN THE NEED FOR HELP!!!
IT SEEMS THAT NOBODY is Successfull with this one
When I choose my values and ADD them to the Textarea, I can only ADD them once, i want to be able to ADD them twice, etc.
Is it possible to ADD values to a Textarea anywhere you click inside it?
<script>
function passText(dp1,dp2,dp3){var str = '<"' + dp1.options[dp1.selectedIndex].value + " " +
dp2.options[dp2.selectedIndex].value + " " + dp3.options [dp3.selectedIndex].value + '">';
document.displayform.itemsbox.value = str;}</script>
<form name="selectform">
<select name="dropdownbox1" size=1>
<option value=http://www.webdeveloper.com/forum/archive/index.php/"">Color</option>
<option value="red"> red</option>
<option value="green">green</option>
<option value="blue">blue</option>
<option value="pink">pink</option>
<option value="yellow">yellow</option>
<option value="black">black</option>
</select>
<select name="dropdownbox2" size=1>
<option value="">Face</option>
<option value="courier"> courier</option>
<option value="verdana">verdana</option>
<option value="comic">comic</option>
<option value="Item 4">Item 4</option>
<option value="Item 5">Item 5</option>
<option value="Item 6">Item 6</option>
</select>
<select name="dropdownbox3" size=1>
<option value="">Size</option>
<option value="1"> 1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
</select>
<input type=button value="Add Values to Textarea" onClick="passText(this.form.dropdownbox1,this.form.dropdownbox2,this.form.dropdownbox3);">
</form>
<form name="displayform" >
<textarea name="itemsbox" onclick="document.displayform.A.value+=this.value" checked style="cursor: e-resize">
</form>
IT SEEMS THAT NOBODY is Successfull with this one
When I choose my values and ADD them to the Textarea, I can only ADD them once, i want to be able to ADD them twice, etc.
Is it possible to ADD values to a Textarea anywhere you click inside it?
<script>
function passText(dp1,dp2,dp3){var str = '<"' + dp1.options[dp1.selectedIndex].value + " " +
dp2.options[dp2.selectedIndex].value + " " + dp3.options [dp3.selectedIndex].value + '">';
document.displayform.itemsbox.value = str;}</script>
<form name="selectform">
<select name="dropdownbox1" size=1>
<option value=http://www.webdeveloper.com/forum/archive/index.php/"">Color</option>
<option value="red"> red</option>
<option value="green">green</option>
<option value="blue">blue</option>
<option value="pink">pink</option>
<option value="yellow">yellow</option>
<option value="black">black</option>
</select>
<select name="dropdownbox2" size=1>
<option value="">Face</option>
<option value="courier"> courier</option>
<option value="verdana">verdana</option>
<option value="comic">comic</option>
<option value="Item 4">Item 4</option>
<option value="Item 5">Item 5</option>
<option value="Item 6">Item 6</option>
</select>
<select name="dropdownbox3" size=1>
<option value="">Size</option>
<option value="1"> 1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
</select>
<input type=button value="Add Values to Textarea" onClick="passText(this.form.dropdownbox1,this.form.dropdownbox2,this.form.dropdownbox3);">
</form>
<form name="displayform" >
<textarea name="itemsbox" onclick="document.displayform.A.value+=this.value" checked style="cursor: e-resize">
</form>