Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Java (http://www.velocityreviews.com/forums/f30-java.html)
-   -   the document.getElementById() tag is not working in javascript. (http://www.velocityreviews.com/forums/t954324-the-document-getelementbyid-tag-is-not-working-in-javascript.html)

adiraju_anuradha 11-08-2012 07:45 AM

the document.getElementById() tag is not working in javascript.
 
all the other features of javascript r working except for this tag getElementById().can anyone tell me how to make it work????


<html>
<body>
<script>
alert(document.getElementById('mine').value);

</script>
<input type="text" id="mine" value="ooo"/>
</body>
</html>


All times are GMT. The time now is 03:49 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.