Cilck on a button automatically

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SASA446
    New Member
    • Aug 2012
    • 1

    Cilck on a button automatically

    Hi All,


    I am not java guy and i never wrote all these stuff,it would be really helpful if anyone of you can helpme out.

    SAS application creates a html page, where it has a button.After the HTML page is loaded i want either javascript/HTML to click the button automatically.a nd i can't control the HTML page at the time of loading,as some SAS procedure is calling it and i dont have any control on that.so my task is only to take control of that page after it is loaded.

    Can you please give the entire code as how to do this.I want some script to go and click the button after it is loaded.

    Thanks
  • gits
    Recognized Expert Moderator Expert
    • May 2007
    • 5390

    #2
    there is no need to click a button in this situation - you can use the window.onload event to excute what you want to have executed when the page is loaded.

    Comment

    Working...