No, It produced the same error after removing tags.
No changes if itest.html is


<script src="itest.js"></script>
<script>alert('That\'s inline alert!!!');</script>
That's my body, duddies! :-)
<script>test();</script>


I use jquery 1.1.3.1, linux, firefox 2.0.0.8


Wizzud wrote:
> 
> 
> You can't expect things to work correctly when you force the DOM to be
> invalid by inserting a complete html document into a div.
> 
> Reduce your itest.html file to ...
> 
> <script src="test.js"></script>
> <script>alert('That\'s inline alert!!!');</script>
> That's my body, duddies! :-)
> <script>test();</script>
> 
> (and preferably add the type attribute to the script tags).
> 
> Tested in FF and IE7, using jQuery v1.2.1.
> 

-- 
View this message in context: 
http://www.nabble.com/Javascript-does-not-work-on-a-page-loaded-tf4718628s27240.html#a13504413
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to