or
<input id="sampleDate" name="sampleDate" value="21 Aug 2012" />
<input id="showInputValue" type="button" />
<div id="output"></div>
jQuery(function(){ jQuery("#sampleDate").kendoDatePicker({"format":"dd MMM yyyy","parseFormats":["yyyy/MM/dd"]}); $("#showInputValue").click(function()
{
$("#output").append("<div>" + $("#sampleDate").val() + "</div>");
});
});$(
"#frommonthpicker").kendoDatePicker({
start:
"year",
depth:
"year",
format:
"MMMM yyyy"
});
$(
"#tomonthpicker").kendoDatePicker({
start:
"year",
depth:
"year",
format:
"MMMM yyyy"
});
currentEmployeeID = //user makes a selection and employeeName is also changed accordingly
if (!mydiv.data("kendoWindow") ) { mydiv.kendoWindow({ iframe: true, title: employeeName, content: "calendar.htm?eeid="+currentEmployeeID; type: "GET" } }); mydiv.data("kendoWindow").open();} else { mydiv.data("kendoWindow").refresh({ iframe: true, type: "GET", title: employeeName, url: "calendar.htm?eeid="+currentEmployeeID }); mydiv.data("kendoWindow").open();}