Hi.
function auswahl(){
$type = document.checkAllForm.alter.options[document.checkAllForm.type.selectedIndex].value;
if($type == "user")
document.getElementById('a_form').style.display='none';
document.getElementById('u_form').style.display='';
} else if($type == "artists") {
document.getElementById('a_form').style.display='none';
document.getElementById('u_form').style.display='';
}
}
<form>
<select name='type' onchange='auswahl()'>
<option value='user' selected='selected' name='user'style='cursor:pointer'>User</option>
<option value='artists' name='artists'style='cursor:pointer'>Artist</option>
</select>
</form>
Die Brwoser reagieren nicht darauf.
mfg
Phil