Quantcast
Channel: Topic Tag: plugin | WordPress.org
Viewing all articles
Browse latest Browse all 26892

GiaP on "Contact Form 7 Range Slider Output Number"

$
0
0

If it helps, here is what I have so far...

<script>
var budget = 0;
var min_year = 1897;
var max_year = 1996;
html = '<input type="range" name="birth-year" step="1" class="wpcf7-form-control wpcf7-range wpcf7-validates-as-number" aria-invalid="false" min="'+min_year+'" max="' + max_year + '" value="'+year+'" name="year" id="year_range" />\
<span>' + year + '</span>';

$(".birth-year").append(html);

$('#budget_range').on("change mousemove", function() {
$(this).next().html($(this).val());
});
</script>

Thanks again!


Viewing all articles
Browse latest Browse all 26892

Trending Articles