<html> | |
<head> | |
<script> | |
function test() { | |
document.getElementById('sl').size = 1; | |
} | |
</script> | |
</head> | |
<body onload="test()"> | |
This tests that you can dynamically change a list box to a popup menu<br> | |
<select size=5 id="sl"><option>This should turn into a popup menu</option></select> | |
</body> |