<form name="form1" method="post" action="?action=send" onsubmit="checkdata()">改为
<form name="form1" method="post" action="?action=send" onsubmit="return checkdata()">