On a click event for a email button I have apply the script:
var
myDoc = event.target;
var
address = "";
var
sub = "Request";
var
msgBody = "Please see attachment.\n\nThank You!";
var
Sender = "Department_A";
myDoc.mailDoc({ bUI
: false,
cTo
: address,
cSubject
: sub,
cMsg
: msgBody + "\n\nRegards\n" + Sender,
cSubmitAs
: "PDF"});
Is it possible after clicking the button and execute the script the button to become invisible?
Thanks for your help