<form id="myForm" method="post" action="" name="from1">
<div id="selectday" >
<table>
<tr>
<td>
<input id="queryBtn" class="com button" type="button" value="提交"/>
</td>
</tr>
</table>
</div>
</from>
------解决方案--------------------
利用这句判断 document.readyState == "complete"