写function时多多地alert()

写function时多多地alert()先写一个alert()语句进去function里面
另外:
textBox的取值:document.form1.txtRemark.value;
不是document.form1.txtRemark.text:!!!!!!!!!!!!!!!!!!!!
dropdownList的text:
document.form1.ddlBankName[document.form1.ddlBankName.selectedIndex].text;//开户行隐藏域,赋值
dropdownList的value:
document.form1.ddlBankName[document.form1.ddlBankName.selectedIndex].value//开户账号隐藏域,右边用document.form1.txtAccountNo.text更好些

posted on 2007-08-07 18:29  simhare  阅读(224)  评论(0编辑  收藏  举报

导航