Click here to Skip to main content
15,891,375 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to close javascipt confirm button without clicking on Ok or Cancel?
Posted
Comments
Manfred Rudolf Bihy 5-Mar-12 9:53am    
What exactly do you mean by "close javascript confirm button"? A button cannot be closed, but rather be hidden or disabled. Please edit your question to clarify.

Thank you!
Rachana Patel 5-Mar-12 9:58am    
I am using confirm button for session timeout, I am extending session on click of ok but If user don't click on ok or cancel button of confirm button then I want to redirect user to logoff page.
Thank you.

1 solution

If you mean the confirm dialog then what would be the point. This function is used to give users a choice, which your code would react to. If the confirm function returned an indeterminate result how could you write your logic?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900