Skip to content

Instantly share code, notes, and snippets.

@cetint
Created February 23, 2012 12:24
Show Gist options
  • Save cetint/1892625 to your computer and use it in GitHub Desktop.
Save cetint/1892625 to your computer and use it in GitHub Desktop.
Html'de JS kullanarak element seçme kodu
var _link = document.getElementById('linkID');
var wrap = document.createElement('div');
wrap.appendChild(_link.cloneNode(true));
alert(wrap.innerHTML);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment