Jump to content

Can I click a Javascript object?


 Share

Recommended Posts

Hi,

I am trying to automate the clicking or activation of a javascript object. It's a login "button" and when you click on it it posts your enter details via javascript. This is the code when I right click and "copy link address":

javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("$main$ArticleControl$lnkLogin", "", true, "Details", "", false, true))

This is what I get from Firebug

<a id="main_ArticleControl_lnkLogin" href='javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("$main$ArticleControl$lnkLogin", "", true, "Details", "", false, true))'></a>

Anyone have any clue whether it's actually possible or how to do it? Any browser will do...

Thanks!

Edited by mikesmith
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...