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();}var kendoDlg = $('<div id="dlg"/>').kendoWindow({ minWidth: 350, maxWidth: 350, title: "Info", resizable: false,modal: true });
$('#dlg').parent().addClass("infoDialog");
kendoDlg.data("kendoWindow")
.content(div)
.center().open();
.k-widget.k-window.infoDialog { top: 100px !important;}$("#dlg").closest(".k-window").css({ top: 55, left: 450});$('#dlg').parent().addClass("infoDialog");