Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Frage zu xmlhttp Request unter IE 7

Empfohlene Antworten

Veröffentlicht

Hallo Zusammen,

ich habe eine Seite gebaut die mit asynchrone http-Anfragen arbeitet (Internet Explorer 7).

In der Regel sind auf weiteren Tab´s weitere Webseiten offen.

Nun ist es so dass wenn ich die async. Abfrage starte und parallel dazu auf einem anderen Tab einen submit

auslöse es so aussieht als ob erst die am andreren Tab laufendende Abfrage abgearbeitet sein muss,

bevor ich das Ergebnis meines Submits zu sehen bekomme.

Wie kommt es zu diesem Verhalten & kann man es umgehen ?

Danke für Eure Hilfe

hmm

Hallo!

Ist dein Request wirklich asyncron?

Also mit true und nicht false als dritten Parameter?

Http.open('GET', 'beispiel.xml', true);

Steht dort false, so verläuft der Request syncon!

Nur eine Idee ;)

Grüße,

Lukas

  • Autor

hallo Blacky - grundsätzlich ein guter hinweis.

Aber ja , ich habe den dritten parameter auf true gesetzt, auch wenn ich das wegen des default Verhaltens nicht tun mueste.

   xmlhttp.open("GET", '/cgi-bin/pdcsearch/pdcsearch_neu.pl' + 

        v_querystring, true); 


        xmlhttp.onreadystatechange = function() { 

            if(xmlhttp.readyState != 4) { 

	            } 

            if(xmlhttp.readyState == 4 && xmlhttp.status == 200) { 

                top.frames['scriptwindow'].document.body.innerHTML = xmlhttp.responseText;

                   } 

        } 

        xmlhttp.send(null); 

      }

    catch (e) { // irgendwelche Probleme ?

     // alert ("[2] Fehler==>  " +e); 

    }

    xmlhttp.close;

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.