How to access the elements in <script> inside the body tag
Posted
by Geetha
on Stack Overflow
See other posts from Stack Overflow
or by Geetha
Published on 2010-05-12T12:00:31Z
Indexed on
2010/05/12
12:04 UTC
Read the original article
Hit count: 171
JavaScript
|jQuery
Hi All,
I am using <script>
inside the body tag.
<script type="text/javascript" language="javascript">
$('#audioVolume').text($('#audioVolume').text(Math.round((document.mediaPlayer.Volume + 2000) / 10) + "%"));
</script>
Error: Microsoft JScript runtime error: 'undefined' is null or not an object.
Need: I want to access the html elements in <script
inside the body tag.
© Stack Overflow or respective owner