I have the code below in my website and integrated a range slider using HTML5. I want the slider to update the text-input with the value and vice versa. Would I do this using jQuery? If so can you give me example code? Thanks. <input type="text" name="chance" id="chance" class="text" value="50"> <input type="range" id="chance" class="vHorizon" min="0.01" max="98" style="background-color: #00aec8;
![HTML Range Slider and jQuery?](https://cdn-ak-scissors.b.st-hatena.com/image/square/98d6f053a97a87156775f60757c60865d0f2c47d/height=288;version=1;width=512/https%3A%2F%2Fcdn.sstatic.net%2FSites%2Fstackoverflow%2FImg%2Fapple-touch-icon%402.png%3Fv%3D73d79a89bded)