document.getElementById('SomeDiv') returns null

Apr 12, 2008 at 7:33 PM
Edited Apr 13, 2008 at 5:38 PM
Essentially ,

i have, in my aspx page:

<script>var mydiv = document.getElementById('SomeDiv');"border: 1px solid blue;width:30px;height:30px;"</script>
<div id="mydiv></div>

edit: never mind this post...

firebug is telling me that mydiv is null....has anyone else had this problem? Thanks!
Apr 19, 2008 at 4:00 AM
Disregard this entire post....there is no way for me to delete it. Long story short it was a small detail in my js that i missed.