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.

IE appendChild

Empfohlene Antworten

Veröffentlicht

Hi,

ich hab en Problem mit IE und appendChild.

Folgender Code:

<html>
<head>
<title></title>

<script src="js/prototype.js" type="text/javascript"></script>

<script type="text/javascript">
<!--

function testit()
{
new Ajax.Request('page.xml.php?',
{
onSuccess: function(transport)
{
xml = transport.responseXML;

xmlNode = xml.getElementsByTagName("data");

alert(xmlNode[0].firstChild.nodeName);

xmlCategory = xml.getElementsByTagName("category");
alert(xmlCategory.length);

xmlElement = document.createElement("category");
xmlNode[0].appendChild(xmlElement);

xmlCategory = xml.getElementsByTagName("category");
alert(xmlCategory.length);
},
onFailure: function()
{
alert("Loading failed ...");
}
});
}

//-->
</script>

</head>
<body onload="testit();">

</body>
</html>[/PHP]

Der FF machts ... IE tut nach dem ersten alert nix mehr.

Hab uach schon ordentlich gegoogelt aber mein Problem konnt ich damit nicht lösen.

Gruß Scratch

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.