.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Home >> Forum >> JavaScript/VBScript >> Post New QuestionBookmark and Share Subscribe to Forum

how to set countdown in alert mesasge in javascript

Posted By: Santosh     Posted Date: May 06, 2011    Points:5   Category :JavaScript/VBScript
can any one plz tell me how to set count down in alert box using java script.
my aim is to show the timer count down in alert message and once it will become zero then alert message should close

Author: Dhiraj Ranka             
Posted Date: May 07, 2011     Points: 20   


I don't think so that you do this in alert box used by java script.

But you can achieve the same on the page itself.

Try following links


Hope this helps.

Hope this helps.

Thanks & Regards,
Dhiraj Ranka
http://www.twitter.com/dhirajranka | http://www.dhirajranka.com
Author: Sasi Prabhu             
Posted Date: July 30, 2011     Points: 20   


Create a HiddenField in Designing Page.
Create a javascript to increment the Hiddenfield value to make alert.
While page Redirection pass this HiddenField value and use this value in next page.

Thanks & Regards,
Sasi Prabhu.

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend