View Full Version : JavaScript and DOM textarea onblur issue.?

09-10-2007, 06:59 AM
I am trying to implement some code on a inside page for web design company (http://www.webdesigningcompany.net) website using JavaScript and DOM. The issue I'm having is that I want to change the size of the textarea on blur. This text area changes from an input box to a textarea once the value length reaches a certain number, passed to the function call.

I cannot seem to reference this textarea after it is dynamically made in order to change it's size (I am attempting to collapse it onblur and have it expand onfocus). Any help is greatly appreciated! The link to the code is below:


Mr Moo
09-10-2007, 09:05 AM
Your link to the "code" just points to the Dev Shed forums.