Jump to content
Sign in to follow this  
Clerythecleric

Trying to click button using the FF extention.

Recommended Posts

Clerythecleric

 

So i'm making a tool to use at work, its nearly complete.

It scrapes a local intranet page into a txt file, Finds a specific link within in, copys to clipboard, moves tab, pastes into desired fileds now i just need it to click a button however i'm unable to as this button has no ID, class, name or anything. Please can anyone assist me.

I have tried used _FFClick("submit", "id"), _FFClick("submit","name") , _FFClick("submit","class")

ect...

HTML:

<button type="submit">   &nbsp;&nbsp; Go &nbsp;&nbsp;   <div><div><div><div></div></div></div></div></button>
Edited by Clerythecleric

Share this post


Link to post
Share on other sites
Clerythecleric

Hi thanks for the reply, it does have a form however when using '_FFFormSubmit() it just sort of refreshes the page? Clears the input field and input boxes i have filed in and refreshes the page?

Share this post


Link to post
Share on other sites
Clerythecleric

Ahh i fixed it, I had to add this line (just incase it helps anyone else)

 

"_FFFormSubmit("metadataValidatorForm", "id","click")"

(with the 'click' it just refreshes)

 

thanks for your help buddy.

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  

×