Skip to content

Instantly share code, notes, and snippets.

@mikeal
Created August 13, 2009 04:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikeal/166995 to your computer and use it in GitHub Desktop.
Save mikeal/166995 to your computer and use it in GitHub Desktop.
$(document).ready = function () {
var d = document.getElementById('description');
var e = document.getElementById('description-edit');
e.width = d.offsetWidth;
e.height = d.offsetHeight;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment