Using jQuery 3.4 in _Layout and datatable does not work correctly...
Using jQuery 3.4 in _Layout and datatable does not work correctly...
sabzpooshan
Posts: 2Questions: 1Answers: 0
Hi.
I have a master page (_Layout.vbhtml) and for my navigator I use jQuery 3.4.1 but when I use datatable in my view and I reference to datatable jQuery 3.1.1, my datatable does not work correctly. when I deactive jQuery 3.4.1, my datatable work correctly. Please help me. I have to have jQuery 3.4.1 and your datatable. How can I fix it?
if possible send me an c# or vb.net asp.net mvc sample...
With a lot thanks
Mohsen Sabzpooshani
This discussion has been closed.
Answers
I fount it.....
$(document).ready(function () { jQuery.noConflict(); $('#example').DataTable(); });I use jQuery.noConflict(); in below code: