Best use of Jquery sliders and PHP
Posted
by Coronier
on Stack Overflow
See other posts from Stack Overflow
or by Coronier
Published on 2010-05-27T08:41:07Z
Indexed on
2010/05/27
18:51 UTC
Read the original article
Hit count: 126
Hello there,
I have two questions:
- What's the best way to send sliders' values to a PHP page ? I'm associating each slider (several per page) with an hidden form so far, but I wonder if there's a "cleaner" way to do this.
Related to the 1st question; I've some trouble with the script:
var score = $(this).slider( "option", "value" ); $(this).closest("input[type=='hidden']").val(score);
It doesn't set the value of the hidden input. Can somebody tells me what's wrong ?
Thanks
© Stack Overflow or respective owner