realcrowd / angularjs-utilities

Hopefully useful directives, providers, filters, etc for AngularJS
Other
199 stars 50 forks source link

Sets the focus on textarea if that is the first field on a tab #12

Open eelcocramer opened 10 years ago

eelcocramer commented 10 years ago

The current selector only select 'input' elements but not textarea elements. When a textarea is the first element on a tab is does not get selected. This can be fixed by using the jQuery :input Selector.