Getting slider value
-
I’m in a learning process. Please help me with following code:
<script>
jQuery(document).on(‘change’, ‘.slider1’, function(){
var val = jQuery(“.slider1”).slider(“value”);
if(val==2)
jQuery(‘.test’).hide();
});
</script>
//slider1 -class for a slider
//test- class for a text area
Thank you for your time.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Getting slider value’ is closed to new replies.