Posted in Javascript onAugust 16, 2013
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>表单提交后按钮变灰</title> <meta http-equiv="content-type" content="text/html;charset=gb2312"> </head> <body> <!--把下面代码加到<body>与</body>之间--> <form name="form1" method="post" action="https://3water.com"> <input type="text" name="username" value="zzsky"> <input type="button" value="提交" onclick="<a href=https://3water.com/js.html target=_blank >javascript</a>:{this.disabled=true;document.form1.submit();}"> </form> </body> </html>
js 表单提交后按钮变灰的实例代码
声明:登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述。
Reply on: @reply_date@
@reply_contents@