I use the calendar code below with a minor modification I made, anyway when I select a date, the calendar highlights the date selected which is great however when I pass this selected date and redirect url, the calendar looses that selected date and it is no longer highlighted on the next page, since I am already passing the variable, how can I edit the calendar code and pass it back the selected variable so that the selected date is known and highlighted on the calendar in next page (same calendar).
g_globalObject = new JsDatePick({
useMode:1,
isStripped:true,
target:"div3_example"
});
g_globalObject.setOnSelectedDelegate(function(){
var obj = g_globalObject.getSelectedDay();
if (obj.month.toString().length < 2) {
var date = obj.year + "-0" + obj.month + "-" + obj.day
//alert(date);
window.top.location.href = '..index.php?pDate=' + date;
}else
{
var date = obj.year + "-" + obj.month + "-" + obj.day
//alert(date);
window.top.location.href = '..index.php?pDate=' + date;
}
});