Re: [jQuery] Random problems with load()?????

2009-12-11 Thread ximo wallas
The NET tab doesn't return anything...
It doesn't work, or it works only sometimes, for aparently no reason.

--- On Wed, 12/9/09, Juan Ignacio Borda juanignaciobo...@gmail.com wrote:

From: Juan Ignacio Borda juanignaciobo...@gmail.com
Subject: Re: [jQuery] Random problems with load()?
To: jquery-en@googlegroups.com
Date: Wednesday, December 9, 2009, 12:48 PM




  
  
try using firebug for firefox and look at the NET tab for response of
the server.



 Original Message 


  

  
Hello everyone!

I'm using load() to get some php content in ti a div, the PHP has a
long switch() conditional that brings back contents depending on var
received, it works fine, almost all the time...

Sometimes, the load function doesn't load anything, there's a callback
function for the load event, and it fires correctly, but nothing get
loaded.

It is not a PHP problem cause if I pass the var via URL to the PHP
document it works, even further, the same request sometimes works,
sometimes not...

Is this common? Can I get any error report from the load() function?


  

  
  






 



  

[jQuery] Random problems with load()?????

2009-12-09 Thread ximo wallas
Hello everyone!
I'm using load() to get some php content in ti a div, the PHP has a long 
switch() conditional that brings back contents depending on var received, it 
works fine, almost all the time...
Sometimes, the load function doesn't load anything, there's a callback function 
for the load event, and it fires correctly, but nothing get loaded.
It is not a PHP problem cause if I pass the var via URL to the PHP document it 
works, even further, the same request sometimes works, sometimes not...
Is this common? Can I get any error report from the load() function?



  

Re: [jQuery] Random problems with load()?????

2009-12-09 Thread Juan Ignacio Borda
try using firebug for firefox and look at the NET tab for response of 
the server.


 Original Message 

Hello everyone!
I'm using load() to get some php content in ti a div, the PHP has a 
long switch() conditional that brings back contents depending on var 
received, it works fine, almost all the time...
Sometimes, the load function doesn't load anything, there's a callback 
function for the load event, and it fires correctly, but nothing get 
loaded.
It is not a PHP problem cause if I pass the var via URL to the PHP 
document it works, even further, the same request sometimes works, 
sometimes not...

Is this common? Can I get any error report from the load() function?





attachment: juanignacioborda.vcf