You need to sign in to do that
Don't have an account?
Mateo Alcauter
How to simulate a button click from another button using javascript
There is a button on transactions that submit a transaction for approval.
I want to make a custom button to mass submit transactions for approval.
I'm trying to this by creating a list view in which you can select the transactions you want to submit for approval and idially you would click the "mass submit for approval" button that would simulate the "submit for approval" on every transaction that was selected.
Any idea on how I can do this? The submit for approval button is a salesforce button and i cannot find the id of this button anywhere.
I want to make a custom button to mass submit transactions for approval.
I'm trying to this by creating a list view in which you can select the transactions you want to submit for approval and idially you would click the "mass submit for approval" button that would simulate the "submit for approval" on every transaction that was selected.
Any idea on how I can do this? The submit for approval button is a salesforce button and i cannot find the id of this button anywhere.
- Simulating Button click in javascript May I request you please refer the below link for reference.
- https://stackoverflow.com/questions/10337426/how-can-i-simulate-a-button-click-from-a-page-controller
- https://success.salesforce.com/answers?id=90630000000gxPNAAY
Hope it will be useful.Please mark it as best answer if the information is informative.so that question is removed from an unanswered question and appear as a proper solution.
Thanks
Rahul Kumar