Java coded buttons

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • matta25
    New Member
    • Apr 2009
    • 1

    Java coded buttons

    Hello All,
    I am trying to log in to a web site using VB.net. I can open the browser and enter the user name and password by looking at the HTML source for the Name= field. I want to click on the login button but on this web site it is a java script. (<P align="center"> <A href="JavaScrip t:ValidateUser( );"><IMG src="ContBtn.gi f" width="115" height="26" border="0"></A></P>) Since there is no name= for the button how do i click on this Java Script?
    Thanks
    Matt
  • iam_clint
    Recognized Expert Top Contributor
    • Jul 2006
    • 1207

    #2
    Originally posted by matta25
    Hello All,
    I am trying to log in to a web site using VB.net. I can open the browser and enter the user name and password by looking at the HTML source for the Name= field. I want to click on the login button but on this web site it is a java script. (<P align="center"> <A href="JavaScrip t:ValidateUser( );"><IMG src="ContBtn.gi f" width="115" height="26" border="0"></A></P>) Since there is no name= for the button how do i click on this Java Script?
    Thanks
    Matt
    look for "ContBtn.gi f" then get that image's parent and use click()

    Comment

    Working...