Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* BOOTSTRAP SLIDER */
- $("#slider1").slider();
- $("#slider1").on("slideStop", function (slideEvt) {
- var val = slideEvt.value
- $.ajax({
- type: "POST",
- url: "/test",
- data: val,
- dataType: "json",
- success: function(response){
- console.log(response);
- },
- error: function(error) {
- console.log(error);
- }
- });
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement