javascript - doc.physique.insertBefore on iOs Safari not working

von Satoshi Nakamoto

javascript - doc.physique.insertBefore on iOs Safari not working

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
Porträt von Satoshi Nakamoto

Satoshi Nakamoto

Zur Person

Satoshi Nakamoto