Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [ajax] pod opera i ff nie pobiera danych
-Gość-
post
Post #1





Goście







mam taka stronke zgodnie z przykladem ze strony http://advajax.anakin.us/index-pl.htm
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl">
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  4. <script type="text/javascript" language="JavaScript">
  5. function demo3() {
  6. advAJAX.setDefaultParameters({
  7. onInitialization : function(obj) { document.getElementById(obj.tag).innerHTML = "Preparing..."; },
  8. onLoading : function(obj) { document.getElementById(obj.tag).innerHTML = "Loading..."; },
  9. onSuccess : function(obj) { document.getElementById(obj.tag).innerHTML = "Result: " + obj.responseText; },
  10. onError : function(obj) { document.getElementById(obj.tag).innerHTML = "Error..."; }
  11. });
  12. advAJAX.get({ url: "http://advajax.anakin.us/example3.php?id=1", tag: "e3_div1" });
  13. advAJAX.get({ url: "http://advajax.anakin.us/example3.php?id=2", tag: "e3_div2" });
  14. advAJAX.get({ url: "http://advajax.anakin.us/example3.php?id=3", tag: "e3_div3" });
  15. advAJAX.setDefaultParameters({});
  16. }
  17. </script>
  18. <script type="text/javascript" src="advajax.js"></script>
  19. </head>
  20. <div id="e3_div1" class="e3_div">
  21. Ramka 1.</div>
  22. <div id="e3_div2" class="e3_div">
  23. Ramka 2.</div>
  24. <div id="e3_div3" class="e3_div">
  25. Ramka 3.</div>
  26. <button onclick="demo3()">Pobierz</button>
  27.  
  28. </body>
  29. </html>


pod ie wszystko dobrze pobiera ale pod opera i ff juz nie.. ciagle jest napis ladowanie..
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 24.12.2025 - 22:20