Search code examples
javascriptjquerydatatablesrangeslider

jQuery Datatables with two range slider filters


I managed to get a range slider working with Datatables using jQuery UI and a snippet I found online: http://live.datatables.net/teredumi/1/edit?html,css,js,output

It works great with one slider. I am not very good a jQuery and I am having trouble (conflicts etc) getting a second range slider #val_range_salary to work on the same page. I would be very greatful for any assistance with this issue and I am sure other will find it useful as well.

If you know of any jsfiddle or live.datatables that has solved this please show me.


Solution

  • Here is working code

    http://live.datatables.net/teredumi/4/edit

    First thing is you have not initialised your second slider

    second thing is you need to add search function to update your dataTable