JavaScript » Textarea » focus

Syntax:
object.focus( )

This method gives focus to the specified Textarea object.