activate() did not fix it. On Oct 19, 11:08 pm, Walter Lee Davis <wa...@wdstudio.com> wrote: > Try activate in place of focus, and see if that works for you. Just > checking -- you do have Prototype in your page, right? > > Walter > > On Oct 19, 2010, at 9:59 PM, JoJo wrote: > > > 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-scriptaculous@googlegroups.com > > . > > To unsubscribe from this group, send email to > > prototype-scriptaculous+unsubscr...@googlegroups.com > > . > > For more options, visit this group > > athttp://groups.google.com/group/prototype-scriptaculous?hl=en > > .
-- 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.