Link to home
Start Free TrialLog in
Avatar of APD Toronto
APD TorontoFlag for Canada

asked on

Duplicate Elements with JS / jQuery

Hi Experts,

Is it possible to use JS or jQuery to duplicate a <table I'd="tbl1"> with all its data on the same page, and just modify the id.

I can, of course store the table as a JS string and output it twice, but in that case I'll need to use a lot of concatenation, which can get messy.

Thank you.
ASKER CERTIFIED SOLUTION
Avatar of Leonidas Dosas
Leonidas Dosas
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of APD Toronto

ASKER

Thank you!