Well I figured it out looking at a previous' user's sample:

http://groups.google.com/group/jquery-en/browse_thread/thread/15b15c9c42d11366/bd4011452664bf62?lnk=gst&q=load+callback+not+firing#bd4011452664bf62

Basically, instead of using the .load() function, I'm using the
$.get() function.

Thanks!

On Nov 11, 10:51 am, Andy <[EMAIL PROTECTED]> wrote:
> Hey everyone-
>
> I'm trying to get the load function to work properly and I've been
> using this page as a 
> reference:http://docs.jquery.com/Ajax/load#urldatacallback
>
> As far as I can tell, the URL I want it to hit is getting hit, but the
> callback function never fires. Any ideas?
>
>     <head>
>         <script src="jquery-main.js" language="javascript" type="text/
> javascript"></script>
>         <script type="text/javascript">
>         function loadReport(UUID) {
>             $("#loadreport").load("initializeReport.html?UUID=" +
> UUID, function(){ alert("Testing..."); });
>         }
>         </script>
>     </head>
>     <body>
>         <center>
>             Loading report...<br />
>             <img src="images/loadingAnimation.gif" />
>             <script type="text/javascript">loadReport('$
> {param['UUID']}');</script>
>             <div id="loadreport"></div>
>         </center>
>     </body>

Reply via email to