Jacob,
Cancel button click causes the confirm dialog to close with return value
false. All this is taking place on client-side. You will need to communicate
an info to the server side. Most standard way of doing this is using hidden
input elements. You can cause the page to postback from JavaScript by
calling the form's submit() method.
Eliyahu
<> wrote in message
news: ups.com...
> Hi All,
>
> Can anyone tell how to handle the Cancel button in the
> JavaScript Confirm() method?If we press cancel, I have to perform
> certain action in the Server side? Plz help me!!
>
> Thanx,
> Jacob.
>
|