Artenis Posted November 3, 2009 Report Share Posted November 3, 2009 jQuery.get("fails.php?id=<?=$_GET['id'];?>", function(data){ }); Ar šo viss būtu baigi labi, ja serverim neuznāk slodze, ja uznāk slodze tad izvada tukšus datus (data) un nekā. Provēju arī ar load, bet nekā. Ir kāds labs variants kā šo apiet, lai sāk lādēt un uzvada, tad kad visa lapa ir ielādēta vai vēl kaut kā? Paldies! Quote Link to comment Share on other sites More sharing options...
mefisto Posted November 3, 2009 Report Share Posted November 3, 2009 A nu ka ej palasīt: http://blog.perplexedlabs.com/2009/05/04/php-jquery-ajax-javascript-long-polling/ Quote Link to comment Share on other sites More sharing options...
briedis Posted November 3, 2009 Report Share Posted November 3, 2009 A nu ka ej palasīt: http://blog.perplexedlabs.com/2009/05/04/php-jquery-ajax-javascript-long-polling/ Obana, paldies par noderīgo linku! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.