/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var $myBox = $('#test'); /*the variable myHTML is equal to the content's of '#test'*/ var myHTML = $myBox.html();