I'm creating a standard chat system. When the user hits the Enter key
in the textarea, I send her comment to the server. Then I clear her
message so she can begin typing a new one. The cursor blinker
disappears when I do this clear. It's better for usability if the
blinking remains. How do I put it back?

<textarea id="foo"></textarea>

$('foo').clear();
// at this point the blinking cursor is gone
$('foo').focus();
// focusing does not put the blinker back

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to