I have the following very simple code:
<script type='text/javascript'>
  $(document).ready(function() {
    alert('ghg');
  });
</script>This code does not work, since the alert is not displayed.
However, the following code shows the alert:
<script type='text/javascript'>
  alert('ghg');
</script>What it is the problem?
 
     
    