Click here to Skip to main content
15,887,776 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to hide javascript confirm button without clicking on Ok or Cancel, does this possible?
Thanks in Advance.
Posted
Comments
bbirajdar 13-Mar-12 10:26am    
Then why do you display it at the first place ???? And right now the technology is not so advanced that the confirm box will get hidden just by looking at it..
ZurdoDev 13-Mar-12 10:35am    
Please clarify. Your question does not make sense.
Rachana Patel 13-Mar-12 10:47am    
I have set timeout = 25 min and I want to give message to user @20min your session is about to expire.if user clicks on OK I am extending session for another 25min. and user clicks on Cancel redirecting on LogOff page.But If user doesn't click on ok or cancel within 5min I want to redirect user to logoff page.
Sergey Alexandrovich Kryukov 13-Mar-12 22:07pm    
Yes, pretty bad question. If you don't want to hide it on click (why? why?!), you need to do it on some event. You need to describe, on which event, exactly. "Improve question" is above...
--SA

1 solution

Hi,

Maybe jQuery Idle Timeout Plugin[^] can fit your needs...
It's easy to integrate. Check it out...
 
Share this answer
 
Comments
Rachana Patel 13-Mar-12 14:39pm    
I already tried but requirements are like I have Master page, two aspx page, from first aspx page I am calling another aspx as popup window using jquery fancybox. I wrote this pluging in my master page and not working for pop up window. So I need to find alternate solution.
Sergey Alexandrovich Kryukov 13-Mar-12 22:09pm    
You still did not answer essential question, how it should work. Any way?
Your "requirement" looks like a mixture of implementation-detail and functionality requirement, which often does not result in anything good...
--SA
Sergey Alexandrovich Kryukov 13-Mar-12 22:12pm    
I guess, you are right, it might help. My 5.
However, I doubt it can practically help OP, taking into account general vagueness in design thinking, techniques and communication skills... it all does not look like sound design to me...
--SA

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