Need help with this jquery button code…?

2nd of November 2012 0

Need help with this jquery button code…?

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}); });

0

Best answer:

Give your answer to this question below!

Filed under § jquery sliders — Tagged with , , , , ,

Share it!

Was it good for you to?

Sponsors

Support for the site!

No sponsors at the moment.



Your opinion matters. Add it below.


Tip: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Recent comments

Categories



Copyright jqueryui.info since 2010. All rights reserved. Design and the Absolute Theme by Tommie Hansen.