He y'all,
Damn, I hate IE! Stupid piece of crap software!
Anyway, the problem is that I have simple select field and onChange, i just want to prompt a message displaying the selected option. My HTML:
Now, anybody knows what's wrong with this? It's probably something stupid (it always is), but in Safari, Opera and FF all works fine, only IE has to be a pain in the but again!
Thanks much!
-monty
Damn, I hate IE! Stupid piece of crap software!
Anyway, the problem is that I have simple select field and onChange, i just want to prompt a message displaying the selected option. My HTML:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<form>
<select onChange="alert(this.value)">
<option>1</option>
<option>2</option>
</select>
</form>
</body>
</html>
Now, anybody knows what's wrong with this? It's probably something stupid (it always is), but in Safari, Opera and FF all works fine, only IE has to be a pain in the but again!
Thanks much!
-monty






