levani
03-28-2011, 06:55 PM
I use jquery appendTo function to add new textarea forms dynamically and I also use jquery autoResize plugin to automatically change the height of the textarea while typing. Here is the code:
$('textarea.text').autoResize({limit : 300});
The problem is that the auto resize doesn't work with dynamically added forms! It works fine with other inline forms... Can anyone please tell what is the problem?
$('textarea.text').autoResize({limit : 300});
The problem is that the auto resize doesn't work with dynamically added forms! It works fine with other inline forms... Can anyone please tell what is the problem?