Skip to content

Instantly share code, notes, and snippets.

@bekapod
Created May 22, 2012 20:37
Show Gist options
  • Save bekapod/2771473 to your computer and use it in GitHub Desktop.
Save bekapod/2771473 to your computer and use it in GitHub Desktop.
JQUERY: Clone element
var $cloned = $('#somediv').clone();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment