Return to Snippet

Revision: 54740
at January 10, 2012 07:13 by tpryan


Initial Code
function resizeTextArea(){
	var content = document.querySelector("#notes_content");
	var container = document.querySelector("#notes_content_hidden");
	container.innerText = content.value;
	content.style.height = container.offsetHeight + "px";
}

Initial URL

                                

Initial Description
JavaScript  for a blog post on creating styled mobile textareas

Initial Title
JavaScript for textarea post

Initial Tags

                                

Initial Language
JavaScript