Microsoft JScript runtime error: Unable to get value of the property 'nodeName': object is null or undefined.
Am using jquery 1.7.1 and for datatables using datatables.net. on focusout the cell "TD" it shows the nodeName element is null
elem - null(in IE9)
acceptData: function (elem) {
if (elem.nodeName) {
var match = jQuery.noData[elem.nodeName.toLowerCase()];
if (match) {
return !(match === true || elem.getAttribute("classid") !== match);
}
}
return true;
}
Code which using:
$(document).on('focusout','#PF_3 tr.row_selected td', function (e) {
e.preventDefault();
var PF_3nNodes = PF_3oTable.fnGetNodes();
PF_3nRow = $(this).parents('tr')[0];
PF_3oTable.oCurrentRow = PF_3nRow;
if (PF_3nEditing != null && PF_3nEditing != PF_3nRow) {
PF_3saveRow(PF_3oTable, PF_3nRow);
PF_3editRow(PF_3oTable, PF_3nRow);
}
else if (PF_3nEditing == PF_3nRow) {
PF_3saveRow(PF_3oTable, PF_3nEditing);
PF_3editRow(PF_3oTable, PF_3nRow);
}
});