<html> | |
<head> | |
<script> | |
function change() { | |
document.getElementById("im").type="text"; | |
} | |
</script> | |
</head> | |
<body onload="change()"> | |
Test the changing of an input type=IMAGE to type=TEXT. This test is to make sure that | |
the height and width attributes are ignored for the new type of TEXT. | |
<form> | |
<br>input element <input id="im" type="image" src="resources/apple.gif" height="17" width="19"> | |
</form> | |
</body> | |
</html> |