How can this script is modified to accept a php variable instead in the place of writing date:"august 12, 2011 23:59" ?
<script type="text/javascript">
$(document).ready(function() {
$("#time").countdown({
date: "august 12, 2011 23:59",
onComplete: function( event ){
$(this).html("Completed");
},
leadingZero: true
});
});
</script>
1 Answer