codeexploiter
09-28-2005, 05:11 AM
Hi Folks,
I am looking for a method to create a customized confirm method in Javascript.
Normally confirm method provides two button with pre-defined texts (Caption) on it, I want a confirm method that can use user-defined button captions. Rest of the working similar that of normal confirm method.
In other words when i click the first button (in place of OK button) I should get the value of True. When I click the second button (in place of CANCEL button) I should get the value of False for further processing.
Hope you people can help me out in this case too as always.
Thanks in Advance
Code Exploiter
I am looking for a method to create a customized confirm method in Javascript.
Normally confirm method provides two button with pre-defined texts (Caption) on it, I want a confirm method that can use user-defined button captions. Rest of the working similar that of normal confirm method.
In other words when i click the first button (in place of OK button) I should get the value of True. When I click the second button (in place of CANCEL button) I should get the value of False for further processing.
Hope you people can help me out in this case too as always.
Thanks in Advance
Code Exploiter