Sign in to follow this  
Followers 0
Sedoc94

Firefox Textarea Focus

1 post in this topic

#include <FF.au3>

_FFConnect(Default, Default, 3000)
_FFCmd('.forms[5].elements[50].focus()')

I want to focus on the only <textarea> there is on the loaded page I have in FireFox.

The thing is that the amount of form elements is dynamic, so the index of it changes all the time.

It however does got a static name and title attribute.

Can anybody help me out to get this working?

Thanks! :)

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0