I’m trying to switch this script from being a slider with a range of values, to a button that outputs the value “10″. I’ve never used jquery before, so it’s foreign to me. thx function changeBuzz(event, ui) { $ (“#indicator”).text(ui.value); $ .post(“/SadieCam”, { buzz: ui.value } ); } $ (document).ready(function(){ $ (“#slider”).slider({min: 0, max:8000, change:changeBuzz}); [...]
↧