As I mentioned, <script> tags are always executed in order. None of the code
in your second <script> tag will run until the first <script> tag has
finished running. This includes the code inside the document ready function.
This will not run until after the first script tag finishes.

What made you think it works otherwise?

-Mike

> From: Veeru
> 
> hi steven
> i was just typing a sample code. That's what i am doing, 2 
> separate script  tags
> 
>  <script type="text/javascript" src="myevents.js"> <script> 
> $(document).ready(function(){ ......
> .....
> });
> </script>
> 

Reply via email to