TASK:
Clone DOM elements.
SOLUTION:
Use .clone() and .appendTo().
EXPLANATION:
In the following example we copy DOM element ".from_to_copy" to ".where_to_copy" without typed data and without javascript's bindings.
In this example we copy DOM element with data typed and javascript's bindigs.
Just change default ".clone()" to ".clone(true)".
Clone DOM elements.
SOLUTION:
Use .clone() and .appendTo().
EXPLANATION:
In the following example we copy DOM element ".from_to_copy" to ".where_to_copy" without typed data and without javascript's bindings.
In this example we copy DOM element with data typed and javascript's bindigs.
Just change default ".clone()" to ".clone(true)".