On 08/02/07, Thinker <[EMAIL PROTECTED]> wrote:
> John Resig wrote:
> > Hi -
> >
> > Can you provide an example of what's failing? We'll need some
> > sample code in order to debug what's going on.
> >
> > --John
>
> test.html will load test2.html and supposed to run alert("Hello!!!").
> But,
> it is not actually (in IE).
>
> test.html
> {{{
> <html>
> <script src="http://jquery.com/src/jquery-latest.js">
> </script>
> <script>
> $(document).ready(function() {
> $("#load_here").load("test2.html");
> });
> </script>
> <body>
> <div id="load_here">
> </div>
> </body>
> </html>
> }}}
>
> test2.html
> {{{
> <script>
> alert("Hello!!!");
> </script>
> <h1> Hello</h1>
> }}}
>
>
> --
> Thinker Li - [EMAIL PROTECTED] [EMAIL PROTECTED]
> http://heaven.branda.to/~thinker/GinGin_CGI.pyTried putting you script tags within a head tag and adding type? <html> <head> <script src="http://jquery.com/src/jquery-latest.js" type="text/javascript"> </script> <script type="text/javascript"> $(document).ready(function() { $("#load_here").load("test2.html"); }); </script> </head> <body> ... _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
