posted 15 years ago
hello all,
I have this problem.
I am having a mail.jsp which on click of submit accesses execute() method in a js file.
Now my requirement is to display a dialog to the user when he clicks submit button where the user can select save or cancel.
If he clicks save,save() method in js has to be called.
First:I cannot display the default dialog as I need custom captions for the buttons.
Second:the save method in js is taking a parameter which is nothing but another method in the same js.
i.e whatever is returned from the second method is taken as input parameter for the save method.
I have come uptill the popup which displays the save and cancel button.
Please help as to how shall I call the save method from the execute method of js but on click of the button in the popup.
[ July 01, 2008: Message edited by: Bear Bibeault ]