Welcome Guest, Not a member yet? Register   Sign In
Spry Ajax PHP Codeigniter Smarty - Report in XLS formate header problem
#2

[eluser]Randy Casburn[/eluser]
I believe this problem is due to the async nature of your AJAX call, and not because of this function. It appears to be constructed properly and you've confirmed that with a synchronous call.

What I suspect is happening is the script continues to process the remainder of your JS script without waiting for you the results from the previous call. At some point in execution, your browser get's confused by the file showing up with no request pending (since the script continued) and it just defaults to "show it".

Try loading it in sync mode. loadContent(url, {async:false})

Randy


Messages In This Thread
Spry Ajax PHP Codeigniter Smarty - Report in XLS formate header problem - by El Forum - 09-30-2008, 03:42 PM



Theme © iAndrew 2016 - Forum software by © MyBB