winterfa Posted July 16, 2012 Posted July 16, 2012 Hi, I am a newbie here , just want to try some automation on webpages with Autoit script, but I find it may be not possible to simulate a click on webpages's javascript link. the webpage's html is like this: <script language="javascript"> ............................ function PC_7_6_151O_redirect(link, acctId) { document.PC_7_6_151O_myForm2.action = link; document.PC_7_6_151O_myForm2.accountID.value = acctId; document.PC_7_6_151O_myForm2.submit(); } ............................ </script> ............................ <a href="#" onclick="PC_7_6_151O_redirect('/1/2/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4u3MHYFSYGYRmYh-pHoYoY-aGIG8Y4IkSB9b31fj_zcVP0A_YLc0NCIckdFAAnBkmk!/delta/base64xml/L3dJdyEvd0ZNQUFzQUMvNElVRS82XzZfODBG','2');return false;" class="textLink1"> - The Link</a> ............................ I want the script simulate a click on "The Link", can I use controlclick to perform this action? Thanks!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now