By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,654 Members | 1,811 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,654 IT Pros & Developers. It's quick & easy.

Asp.net2.0 form标

P: 2
在自定义用户控件中加入FORM标记里面的JavaScript无效?请问是什么原因?
为什么Form ID 变成了aspnetForm Why?
<form name="aspnetForm" method="post" action="Show.aspx?ID=20" id="aspnetForm">
Apr 25 '07 #1
Share this Question
Share on Google+
1 Reply


P: 2
function Check()
{
if(document.<%=this.frmReview.ClientID %>.<%=this.txtReview.ClientID %>.value=="")
{
alert("请输入评论内容!");
document.<%=this.frmReview.ClientID %>.<%=this.txtReview.ClientID %>.focus();
return false;
}
}
Apr 25 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.