单击提交后重置表单时,模态弹出下拉列表未清除 [英] Modal pop up drop down lists not clearing when I reset the form after clicking submit
本文介绍了单击提交后重置表单时,模态弹出下拉列表未清除的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
function myFunction(){
document.getElementById(form1)。reset();
}
此功能我在按钮上点击以重置表格..它重置文本框但下拉所选值会重置如何重置..
帮助??
想法?
什么我试过了:
函数myFunction(){
document.getElementById(form1)。reset();
}
这是myfunction();我在按钮上使用
解决方案
谷歌是你最好的朋友: clear dropdownlist javascript - Google Search [ ^ ]
function myFunction() {
document.getElementById("form1").reset();
}
this function i am using on button click to reset the form.. its reseting the text boxes but drop down selected values are reset how to reset..
help??
ideas?
What I have tried:
function myFunction() {
document.getElementById("form1").reset();
}
this is myfunction(); which i am using on button click
解决方案
google is your best friend: clear dropdownlist javascript - Google Search[^]
这篇关于单击提交后重置表单时,模态弹出下拉列表未清除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文