I am working on a web application and I would like to combine java script and php.
I am using the window.confirm() function which gives a user an option to choose either yes or no.
I am actually using this feature to end a users session so if user clicks on yes, end_session.php should be called to terminate his session and if no no action should be taken.
If there's a better java script function than window.confirm(() please tell me
Thanks
Rony