simulate button click
This may be an easy question, but I cant seem to figure it out. I am wondering if I can programaticly fire the onControlClicked event of a button from another javascript function.
My first thought was to create a function that contains all the things I want to do, and then fire the function inside the buttons onControlClicked event. Then I could just call the function from anywhere.
This aproach seemed like a round about way at this. If I put several things inside the onControlClicked event it seems like there should be a way to call it later.
Please help.
My first thought was to create a function that contains all the things I want to do, and then fire the function inside the buttons onControlClicked event. Then I could just call the function from anywhere.
This aproach seemed like a round about way at this. If I put several things inside the onControlClicked event it seems like there should be a way to call it later.
Please help.
Aaron Todd
February 27,