jquery countdown

Posted on 2010-08-25
Last Modified: 2012-05-10
Hi there,

I am trying to use jquery Countdown 

It works perfectly, but I didn´t understand how to include the expiryUrl  property inside it. I tried as below, but it doesn´t work.

Could you please modify the code below to make it right?  Thanks!

$(function () {

	$('#defaultCountdown').countdown({format: 'MS', compact: false, expiryurl: true, until: $.countdown.UTCDate(-3, 2010, 8, 25, <%=(rsParsingStartTimes.Fields.Item("HourStart").Value)-24%>, <%=(rsParsingStartTimes.Fields.Item("MinuteStart").Value)%>+1, 0, 0),

	expiryurl: ""



Open in new window

Question by:fskilnik
  • 3
  • 2
LVL 82

Accepted Solution

leakim971 earned 450 total points
ID: 33525824
I see you set it twice :

expiryurl: true,
expiryurl: ""

replace the << true >> by the ""

be careful with the case, expiryurl and expiryUrl

$('#defaultCountdown').countdown({format: 'MS', compact: false, expiryUrl: "", until: $.countdown.UTCDate(-3, 2010, 8, 25, <%=(rsParsingStartTimes.Fields.Item("HourStart").Value)-24%>, <%=(rsParsingStartTimes.Fields.Item("MinuteStart").Value)%>+1, 0, 0)

Open in new window


Assisted Solution

wuff earned 50 total points
ID: 33525894
i think you need the http:// before www.mysite...

Author Comment

ID: 33533911
Sorry for the delay, gentlemen!

All three suggestions were in fact corrections and the problem is solved. Cheers!

Best Regards and thank you both for the support!!
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

LVL 82

Expert Comment

ID: 33535526
You're welcome! Thanks for the points!

Author Comment

ID: 33565795
Hi again, leakim971!

I wonder whether you could help me in a "JQuery Countdown" matter... the link to my EE post follows:

Thanks a lot,
LVL 82

Expert Comment

ID: 33568063
Seems @mplungjan solve your problem, sorry to be late.

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Requirements JQuery 1.6+ HTML CSS Introduction This article was inspired by an EE question ( on how to make a page show some balloons animate up a page…
There are a couple ways to attach a JavaScript function to dynamically created elements. You can make a new script for each element as it’s created or you can use delegation. Delegation allows a single script that is added at page creation to mat…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now