P
petermonsson
Hi all,
Does IE support disabled for the Image type in inputs? This small
example doesn't seem to work when the type is Image, but perfectly fine
when the type is submit.
Best Regards
<html>
<head>
<title>Lala</title>
</head>
<body>
<script>
<!--
function disable()
{
var button = document.getElementById("submit");
button.disabled = true;
button.style.color = "red";
return false;
}
-->
</script>
<form action="world.html" onsubmit="return disable()">
<input type="image" id="submit" src="Hello" Value="submit
"Alt="Submit">
</form>
</body>
</html>
Does IE support disabled for the Image type in inputs? This small
example doesn't seem to work when the type is Image, but perfectly fine
when the type is submit.
Best Regards
<html>
<head>
<title>Lala</title>
</head>
<body>
<script>
<!--
function disable()
{
var button = document.getElementById("submit");
button.disabled = true;
button.style.color = "red";
return false;
}
-->
</script>
<form action="world.html" onsubmit="return disable()">
<input type="image" id="submit" src="Hello" Value="submit
"Alt="Submit">
</form>
</body>
</html>