Uncaught TypeError: undefined is not a function :When clicking kendo Action Sheet List buttons? -


i have problem when trying load kendo action sheet control in application. problem when try click list .it shows undefined not function.

html:

 <ul id="actions">                         <li><a href="#"  data-action="view">new appointment</a></li>                         <li><a href="#"  data-action="rename">view info</a></li>                      </ul> 

js:

 $("#actions").kendomobileactionsheet({ type: "tablet" });  $("#kendogrid").on("click", "tr", function () {     var customerid = $(this).attr("id");     $("#actions").data("kendomobileactionsheet").open(this); }); 

if clicking grid shows kendo action sheet.which contains links .when try click link error .

the data-action attribute of action sheet items points javascript function must globally available. should have functions "view" , "rename" defined in page. if don't "undefined not function" error.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -