(compatible with Cytoscape) $( document ).ready(function() { $('#footer').hide(2000); $('[data-toggle="tooltip"]').tooltip(); $('#cy-edge-score').slider({ formatter: function(value) { return 'Cut-off: ' + value; } }); $('#cy-edge-score').on("slide", function(slideEvt) { $("#cy-edge-score-value").text(slideEvt.value); }); });