hi wanted load below div in popup on click of button in page. here sample code
<input type="button" name="btnload" id = "btnload" onclick="loadpopupwindow();"/> <script id="custompopuptemplate" type="text/x-kendo-template"> <div class="k-edit-label">productname: </div> <div class="k-edit-field"> <input name="productname" required class="k-textbox"/> </div> <div class="k-edit-label">discontinued: </div> <div class="k-edit-field"> <input name="discontinued" type="checkbox" /> </div> </script> i'm working kendo , jquery
try one,
onclick of link tag: <li class="topicheight"> <a class="topiclistone" onclick="displaycontent()" href="javascript: void(0)"> </li> div tag display in popup: <div id="windowcontentmessage"> </div> js function open popup: function displaycontent() { if (contenttitle != '') { $('#windowcontentmessage').html(htmldescription + '<input id=\"btnokhowitworks\" class=\"k-button btninput\" style=\"width: 60px;margin-left:230px;\" type=\"button\" value=\"ok\" />'); contentwindow = $('#windowcontentmessage').kendowindow({ title: contenttitle, visible: false, modal: true, resizable: true, width: '550px' }).data("kendowindow"); contentwindow.open(); contentwindow.center(); } } let me know if issue.
Comments
Post a Comment