javascript - doc.physique.insertBefore on iOs Safari not working
von Satoshi Nakamoto
I am creating an embedding system, nonetheless I am having issues with safari on iOs, I name the html of my code by means of an ajax request, however Safari on iOs was the one browser that didn't embed the code.
Code used to insert factor into the web page:
var el = doc.createElement('div');
el.setAttribute('id', 'chat-robbu');
el.setAttribute('model', 'show: none;');
el.innerHTML = knowledge.html; // knowledge.html is I obtained by means of an object by means of an ajax
doc.physique.insertBefore(el, doc.physique.kids);
You may see the code working right here: https://chatrobbu.rilo.com.br
Source link
Read the full article
Satoshi Nakamoto
Keine Verbindung
Verbindung wird wiederhergestellt
Etwas ist schiefgelaufen
Wir sind gleich wieder da