on 05-26-2009 6:09 PM
Hi,
I have 2 submit buttons.I wrapped them up in a subform.
1st button is used to send e-mail (used Javascript)
2nd button used to save this form to app server (defaulted Javascript code)
Now when user clicks 1st button I need to hide this 1st button & I did it using
this.presence = "hidden";
I also want to hide 2nd button simultaneously.when user clicks 1st button.How to do this?
button 1 click event
----- ADOBE_DATA.#subform[0].buttonform.submitToSAP1[0]::click: - (JavaScript, client) -------------
button 2 click event
----- ADOBE_DATA.#subform[0].buttonform.submitToSAP1[1]::click: - (JavaScript, client) -------------
rgds
vara
Edited by: Vara K on May 26, 2009 9:31 PM
Edited by: Vara K on May 26, 2009 9:46 PM
Hi Vara,
In the Button 1 click event write the following code.
submitToSAP1[1].presence = "hidden";
But it's better to change the name of the buttons instead of having like this :[1].
Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.