or
<ul class="k-group" style=""> <li id="idItem1" class="k-item" data-uid="f15ccb0c-f3d8-4a56-bebd-e9d14d2dc877" role="treeitem"> <div class="k-top"> <span class="k-icon k-plus"></span> <span class="k-in"> <span class="k-sprite folder"></span>Item1 </span> </div> <ul class="k-group" style="display: none;"> <li class="customClass k-item k-last" id="CustomId" data-uid="f244d97f-2adb-4e49-b40a-3766dd1eba92" role="treeitem"> <div class="k-bot"> <span class="k-in"> <span class="k-sprite pdf"></span>Sub-Item1 </span> </div> </li> </ul> </li> <li id="idItem2" class="k-item" data-uid="8da3519c-27cd-49e6-a478-6e4cf1ccd3d0" role="treeitem"> <div class="k-mid"> <span class="k-in"> <span class="k-sprite folder"></span>Item2 </span> </div> </li></ul>id="treeName_tv_active"<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();}