But how can we resolve it if we have multiple such instances of showing text area in a view? I think in that case autofocus will not work. Check http://jsfiddle.net/ankurnecessary/0u55yr5j/
On Monday, April 9, 2012 at 2:17:14 PM UTC+5:30, Pete Bacon Darwin wrote: > > I used this in my angular driven student grouping app ( > http://petebacondarwin.github.com/Student-Grouping-App/) - just stick > autofocus on the textarea element: here is a fiddle > http://jsfiddle.net/jJVQC/1/. Of course this doesn't work on all browsers. > Pete > > ... sent from my SAM Coupe > On Apr 9, 2012 9:36 AM, "Freewind" <[email protected] <javascript:>> > wrote: > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
