I am using DHTMLXslider in a form and I want form to auto submit slider value to php file whenever slider value change. I tried using onchange and onclick event but it doesn't work. Here is my code. Is there any solution? Please help. Thanks.
<form method="POST" target="content" action="here.php" id="myform">
<input class="dhtmlxSlider" skin="ball" min="10" max="20" step="1" type="text" name="slider2" id="slider" style="width:200px" value="20" onclick="this.form.submit()"/>
<br>
</form>