日期:2014-05-16  浏览次数:20419 次

再发个问题,请求解决!解决后散分
<form   name= "form1 "   action= "guestroom_taking_report.jsp "   method= "POST ">
<input   type= "hidden "   name= "test1 "   value= "Last_Update_Date "/>
<input   type= "submit "   value= "submit "/>
<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= "total_taking_report.jsp "   >
    <area   shape= "rect "   coords= "66,389,165,413 "   href= "guestroom_taking_report.jsp ">
    <area   shape= "rect "   coords= "65,421,164,441 "   href= "repast_taking_report.jsp ">
</map>

</body>

</html>

我想要的效果是用户在点击guestroom_taking_report.jsp页面后   出现相应的数据,
在total_taking_report.jsp页面下   也能实现类似功能

而不是在用户按了submit按纽(传值)     弹到guestroom_taking_report.jsp页面   ,请问该怎么解决?

------解决方案--------------------
你在total_taking_report.jsp页面中的加个 <IFRAME name= 'guestrom_tabking_report ' /> ,然后form表单增加TARGET属性.其值为 'guestrom_tabking_report '
------解决方案--------------------
<area shape= "... " ocords= ".... " onclick= "document.forms[0].submit(); ">