how to change the text of a textarea when a dropdown list is selected. Here is my code...
<html>
<head>
<script type="text/javascript">
function fifa()
{
abc=document.forms[0].browsers.value;
if(abc=="");
document.form1.text1value="you selected A";
else if
document.form1.text1.value="you selected B";
else
document.form1.text1.value="you selected C";
}
</script>
</head>
<body>
<form name="form1">
Choose which browser you prefer:
<select id="browsers" onchange="fifa()">
<option value="A">A</option>
<option value="B">B</option>
<option value="C">C</option>
</select>
<textarea name="text1">
</textarea>
</form>
</body>
</html>
-thannx in advance
-Miss Subanki