I have data with 10,000 records. When populate combobox in IE8, I have error: “Stop running this script? A script on this page is causing your web browser to run slowly..” Works fine with Google Chrome. Works fine in IE8, if data has 5,000 rows for example. I am using AJAX code:
$.ajax({
type: “POST”,
url: “Default.aspx/EmployeeNames”,
data: “{}”,
async: false,
contentType: “application/json; charset=utf-8”,
cache: false,
dataType: “json”,
success: function (r) {
data_employee = $.parseJSON(r.d);
},
error: function (err) {
alert(“EmployeeNames error”);
}
});
$(“#cmbSupervisor”).jqxComboBox({ source: data_employee, selectedIndex: 0, width: ‘200px’, height: ’25px’, dropDownWidth: 250, displayMember: ‘EmployeeName’, valueMember: ‘EmployeeName’, theme: ‘ui-sunny’});
Is there something I can do to avoid that error?
Thanks