troubleshooting Question

Incorporate ASP date into JQuery

Avatar of Bob Schneider
Bob SchneiderFlag for United States of America asked on
8 Comments1 Solution445 ViewsLast Modified:
This is not functioning.  What can I do to modify it?

$(function () {
	var austDay = new Date();
	austDay = new Date(<%=Year(dEventDate)%>, <%=Month(dEventDate)%> - 1, <%=Day(dEventDate)%>);
	$('#cntdwn_0').countdown({until: austDay});

Here is the body stuff:
					<%If UBound(EvntCntDwnArr, 2) > 0 Then%>
						<div class="info_area" style="border:medium ridge <%=sPrimColor%>;margin-bottom:5px;">
							<h5 style="margin-top:2px;">The Clock is Ticking...</h5>
							<%For i = 0 to UBound(EvntCntDwnArr, 2) - 1%>
								<%dEventDate = EvntCntDwnArr(2, i)%>
								<div id="cntdwn_<%=i%>"></div>
								<div style="text-align:right;margin:0;padding:0 5px 0 0;border-bottom:1px solid <%=sPrimColor%>;">until <%=EvntCntDwnArr(1, i)%></div> 
								<div style="clear:both;">&nbsp;</div>
							<%If Session("role") = "Coach" Then%>
										<a href="../evnt_cntdwn/add_edit.asp">add/edit events</a>
							<%End If%>
					<%End If%>

Any help would be much appreciated!
Join our community to see this answer!
Unlock 1 Answer and 8 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros