on 09-17-2008 11:44 AM
Good day,
I have a WAD template that has an Analysis Item, a checkbox and a button. When the button is clicked an Javascript is executed that checks if any of the checkboxes are checked, if none are checked then all are then checked via the Javascript, the only problem I now have is how do I simulate the executing of the apply button in the Javascript function.
Regards
Lucien
Edited by: Lucien Barnes on Sep 18, 2008 7:10 AM
What I need is the function that is executed when the button is clicked i.e. what is function the is executed by OnClick
Good day,
Solved the problem
I used the following code.
// Get the apply button
var button_checkboxes = document.all(web_item_checkbox_group + "_BIBtnCBG");
// Simulate click.
button_checkboxes.click();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.