PDA

View Full Version : how about copy element?



index236
22 Aug 2007, 1:21 AM
i know that


el.innerHTML = el.innerHTML



is there anything knowhow?

element copy.

Animal
22 Aug 2007, 2:00 AM
The basics with which you must be familiar if you are going to be creating RIA apps: http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html

see cloneNode.