Javascript Problem

Posted by Tareq on Stack Overflow See other posts from Stack Overflow or by Tareq
Published on 2010-04-19T03:39:43Z Indexed on 2010/04/19 3:43 UTC
Read the original article Hit count: 385

Filed under:
|

I am trying to show a script in a div tag. But in the div tag the script does not run.
Here is my Code:

<div id="div0" align="right">
  <script type="text/javascript">
  <!--
    alert("Hi");
  -->
  </script>
</div>  

It does not work for me. Please anybody tell me, what is the problem?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html