Using AJAX to pass value from range slider to PHP on front-page of wordpress site – Jquery ajax
So I have a range slider in the footer of my whole site: <input id="ex1" type="range" min="0" max="60" step="1" /> <div id='mydiv'>test</div> And on slideStop I am redirecting to my homepage: $(document).ready(function(){ $('#ex1').on('change', function () { if (document.location.href.indexOf('category') > -1)…