Hi Telerik team:
I'm currently using DropDownList with checkboxes on javascript and I found out that method get_checked, that retrieves wether an item is checked or not
does not work on IE.
Exists some fix to use this method on IE?
Any help would be appreciated.
Thanks.
function doSaveReport(id) {
if ($("#txtSaveAs").val() == "" && id == "")
alert("You must specify a name for the report definition");
else {
oEmployee = $find("<%= ddlEmployees.ClientID %>").get_items(),
var ReportData = {
EmployeeId: []
}
for (i = 0; i < oEmployee.get_count(); i++) {
item = oEmployee.getItem(i);
if (item.get_checked())
ReportData.EmployeeId.push(item.get_value());
}
}
I'm currently using DropDownList with checkboxes on javascript and I found out that method get_checked, that retrieves wether an item is checked or not
does not work on IE.
Exists some fix to use this method on IE?
Any help would be appreciated.
Thanks.
function doSaveReport(id) {
if ($("#txtSaveAs").val() == "" && id == "")
alert("You must specify a name for the report definition");
else {
oEmployee = $find("<%= ddlEmployees.ClientID %>").get_items(),
var ReportData = {
EmployeeId: []
}
for (i = 0; i < oEmployee.get_count(); i++) {
item = oEmployee.getItem(i);
if (item.get_checked())
ReportData.EmployeeId.push(item.get_value());
}
}