Why jquery.animate on a textarea make the blinking cursor disapears?
- by Tom S.
Hello everyone.
I have the following code
$(document).ready(function() {
$("#myTextArea").focus(function() {
$("#myTextArea").animate({ "height": "75px"}, "normal");
return false;
});
to expand a textbox when it gets focus. The expand occurs, however the blinking cursor disapears, at least in Firefox!
Edited: The textarea is still focused, and i can type on it.
Why does this happen? Is there a way to show it again?
Thanks in advance