hvofor virker dettte ikke??
<script>function showIt(e)
{
strTekst = document.getElementById("result").value
document.getElementById("result").value = strTekst + e[e.selectedIndex].value;
strTest = e[e.selectedIndex].value;
if (strTest == 'smiley') {
document.all['dynfield'].innerHTML = '<br><input type="text">';
} else if (strTest == 'billeder') {
document.all['dynfield'].innerHTML = '<br>billeder';
}
}
}
</script>
<select onchange="showIt(this);">
<option value="smiley">smiley</option>
<option value = "billeder">billeder</option>
</select>
<select onchange="showIt(this);">
<option></option>
<option></option>
</select>
<input id="result"/>
<div id="dynfield"></div>
<br>
???
