继续问题,关于如何调整页面,请大家继续解决 ,马上散分
还是刚刚的问题,我选择了其中一种方式,可是其中的submit按纽太多 占据了主页面的位置,极不美观,我想问 如何把这些submit隐藏起来,如何使得页面上看不到这些按纽,且页面位置正确,不好意思 本人没学过jsp
代码如下:
<form name= "form " action= "total_taking_report.jsp " method= "POST ">
<input type= "hidden " name= "test " value= "Last_Update_Date "/>
<input type= "submit " value= "submit " disabled= "disabled "/>
<input type= "text " name= "Last_Update_Date " size= "12 " maxlength= "12 " >
<input type= "button " name= "change2 " value= "选择时间 " onClick= "show_cele_date(change2, ' ', ' ',Last_Update_Date) ">
</form>
<form name= "form1 " action= "guestroom_taking_report.jsp " method= "POST ">
<input type= "hidden " name= "test1 " value= "Last_Update_Date "/>
<input type= "submit1 " value= "submit " disabled= "disabled "/>
<input type= "text " name= "Last_Update_Date " size= "12 " maxlength= "12 " >
<input type= "button " name= "change2 " value= "选择时间 " onClick= "show_cele_date(change2, ' ', ' ',Last_Update_Date) ">
</form>
<img src= "images/main.jpg " width= "1100 " height= "1100 " border= "0 " usemap= "#Map ">
<map name= "Map ">
<area shape= "rect " coords= "66,357,165,384 " href= "# " onclick= "document.form.submit(); "> > ">
<area shape= "rect " coords= "66,389,165,413 " href= "# " onclick= "document.form1.submit1(); "> >
</map>
------解决方案--------------------这句代码有错:
<input type= "submit1 " value= "submit " disabled= "disabled "/>
type还是需要改成submit
如果你用document.form.submit()可以不要这个submit按钮的,
另外
可以用
<input type= "submit " value= "submit " disabled= "disabled " style= "display:none "/>
------解决方案--------------------呵呵,分省着点用。刚才你那贴结的太快了,可以在原贴继续提问的。
这里有个小错误:document.form1.submit1();
submit()是函数,用来提交表单数据,所以submit1()是不存在的,写成:document.form1.submit();
至于你说的“submit按钮太多”,不明白你说的意思……