Hi,
Topic closed.
Solution: use outerHTML to copy node.
Some sing like:
document.querySelector('.diaryEntrys').innerHTML+=
document.querySelector(".templateCollector .articleTemplate").outerHTML;
В> Hi,
В> Is there any way to clone new HTML5 elements in IE6-8?
В> I add script
В> <!--[if lt IE 9]>
В> <script
В> src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
В> <![endif]-->
В> But when I try to use .cloneNode(true) or jQuery .clone, all HTML5 elements
В> disappears.
В> .innerHTML show that <nav></nav> turn to <:nav></:nav> and so on.
В> If I try clean .innerHTML with regexp ... elements just disappears
В> with no trace.
В> Any ideas?
В> All best regards. Silent Imp.
В> *******************************************************************
В> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
В> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
В> Help: [email protected]
В> *******************************************************************
--
С уважением, Ворон.
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [email protected]
*******************************************************************