Document.getElementbyId is not working

This code is not working What i am doing wrong here?


<script type="text/javascript">
document.getElementById("divName").style.height = 500px;
</script>

<div id=“divName”>
adfasfadsas
</div>

P.S firefox Error Console
Error: missing ; before statement

The 500px needs to be contained within string delimeters, such as ‘500px’ or “500px”

Thanks, It worked.