jquery - KendoAutoComplete issue in chrome only -


enter image description here

enter image description here

when type user name showing above error.but when open in firefox , internet explorer works fine. below code

 function getactiveemployeenames() {         //debugger;         $.ajax({             type: "post",             url: "vervewall.aspx/getactiveemployeenames",             contenttype: "application/json; charset=utf-8",             datatype: "json",             success: function (response) {                 onsucceeded(response.d, null, null);             },             failure: function (response) {                 //alert(response);             }         });     } 

it invoke below function

 var source = [];     function onsucceeded(result, usercontext, methodname) {         //debugger;         //source = "";         if (result.length > 0) {             if (source.length < 1) {                 (var = 0; <= result.length - 1; i++) {                     source.push({                         "empid": result[i].id,                         "employeename": result[i].employee_name,                         "firstname": result[i].firstname,                         "middlename": result[i].middlename,                         "lastname": result[i].lastname,                         "photographfilename": result[i].photographfilename                     });                 }             }         }         bindpost();                 } 

and invoke bindpost function

  function bindpost() {         //debugger;         var highlight_users = new array();         $("#<%=txtpostmessage.clientid%>").kendoautocomplete({             separator: " ",             filter: "contains",             datatextfield: "employeename",             datasource: source,             minlength: 3,             placeholder: "what's on mind...",             template: '<img src="upload/photograph/${data.photographfilename}" width=30 height=30/>&nbsp;${data.employeename}',             height: 370,             select: function (data) {                 tagging_users.push(data.empid);                 highlight_users.push(data.firstname);                 highlight_users.push(data.lastname);                  $("#<%=txtpostmessage.clientid%>").highlighttextarea('enable');                 jquery("#<%=txtpostmessage.clientid%>").highlighttextarea({                     words: highlight_users,                     color: "#aacccc"                 });             }          }).data("kendoautocomplete");      } 

what version of kendo use? if newer year 2012, need update jquery see kendo ui prerequisites


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -