0

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>
4

2 回答 2

0

我不清楚你的问题。检查您的应用程序是否可以。onChange=formname.submit();

于 2012-07-09T09:45:15.933 回答
0

尝试使用

onmouseup="this.form.submit();"
于 2012-07-09T10:06:13.933 回答