Using jQuery 3.4 in _Layout and datatable does not work correctly...

Using jQuery 3.4 in _Layout and datatable does not work correctly...

sabzpooshansabzpooshan 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

Answers

  • sabzpooshansabzpooshan Posts: 2Questions: 1Answers: 0

    I fount it.....
    I use jQuery.noConflict(); in below code:

    $(document).ready(function () { jQuery.noConflict(); $('#example').DataTable(); });
This discussion has been closed.