Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
[jQuery] Pobieranie fragmenty innej strony
#1
Witam,
Mam stronę index.html z skryptem .load(), która wygląda tak:
Kod:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head>
        <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
        <title>Test - pobieranie</title>
        <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript" charset="utf-8"></script>
        <script type="text/javascript" charset="utf-8">
        $(document).ready(function(){
            $('#list').load("Content.html ul");
        });
        </script>
        
    </head>
    <body>
        <h2>Here is the list from the other page:</h2>
        <div id="list"></div>
    </body>
</html>
I strona ta wyświetla <ul> z strony Content.html. Wszystko działa pięknie i prawidłowo. Ale gdy Content.html umeiszczę na zewnętrznym serwerze, to wtedy na IE wyświetla sie poprawnie, a Mozilla/Safari/Chrome już wtedy tego nie widzą. Jak rozwiązać ten problem ?
Odpowiedz


Wiadomości w tym wątku
[jQuery] Pobieranie fragmenty innej strony - przez heavy1123 - 12-07-2012, 02:55

Podobne wątki…
Wątek: Autor Odpowiedzi: Wyświetleń: Ostatni post
Sad HTML/CSS/JQUERY - Potrzebuje pomocy / Bezradność jokerblitzz 10 10,230 28-04-2016, 00:24
Ostatni post: mubi
  jquery? mordrag 0 2,338 29-03-2015, 17:44
Ostatni post: mordrag
  aby funkcja JQuery zadzialala po okreslonym czasie Arnimarl 2 3,825 25-05-2014, 07:38
Ostatni post: Arnimarl
  Konflikt Mootools/Jquery kurde 2 3,249 31-10-2013, 01:44
Ostatni post: kornell
  Slider z jQuery lomek 2 3,769 19-10-2013, 04:40
Ostatni post: lomek

Skocz do:


Użytkownicy przeglądający ten wątek: 1 gości
Sponsorzy i przyjaciele
SeoHost.pl