清除表单按钮无法正常工作 [英] Clear form Button doesn't work right

查看:64
本文介绍了清除表单按钮无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

确定。我有一个表单,其中有一个按钮,我从HTML工具箱中获得了一个重置​​按钮。我将按钮重命名为Clear Form。当用户键入文本框然后单击清除表单按钮时,它会清除某些文本框,但不会全部清除。不清楚的文本框是进行自动计算的文本框。为什么会这样?有没有办法解决它?



Ok. I have a form that has a button that I got from the HTML toolbox that is a reset button. I renamed the button to Clear Form. When a user types into the textboxes and and then clicks on the Clear Form button, it clears some of the textboxes but not all. The textboxes that does not clear are the ones that does auto calculations. Why is this happening? Is there a way to fix it?

<td>
                <input id="Reset1" type="reset" value="Clear Form" 

                     önclick="return Reset1_onclick()" /></td>
            <td>

推荐答案





您是否尝试访问服务器端代码,

尝试向控件添加runat =server属性

这可能会解决问题。



希望这对你有所帮助。



问候,

RK
Hi,

Are you trying to access server side code,
Try to add runat="server" attribute to the control
This will possibly resolve the problem.

Hope this helps you a bit.

Regards,
RK


这篇关于清除表单按钮无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆