JK Web Studio is a small web design studio, specializing in efficient and user friendly solutions.

Contact us at info@jkwebstudio.com

Objects and JavaScript in IE8

Quick observation in IE8. If you have a form element with id=”myId”, myId is available directly through JavaScript as an object.

<input type=”text” id=”myId” value=”some value” />

<script>
alert(myId.value);
</script>

Leave a Reply