Best use of Jquery sliders and PHP
- by Coronier
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