As I run the project I get this error sent back to me.
Unhandled exception at line 257, column 1 in http://localhost:54123/Scripts/Custom/custom-validation.js
0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'DataTable'
And below is the part of the code it's referring to..
$('.dtable-fd').DataTable({
"aoColumnDefs": [{
'bSortable': false,
'aTargets': [0,1]
}],
});
The project works fine when running on a Chrome Browser, but encounters this error when running it on an Internet Explorer Browser. What should I do?
DataTable are supported in IE. Check your HTML code, has any tag not closed. Check this link, it might help you It solved similar problem I guess
User contributions licensed under CC BY-SA 3.0