Jsp 点击按钮不跳转

Jsp 点击按钮不跳转

1. 实现如下

<iframe width="0px" height="0px" name="actionframe" style="border: none">iframe>
<form style=""
      action="echartDemo2.jsp" method="get" onsubmit="return sumbit_sure()" target="actionframe">
    <br>
    Phone Number:<input name="phoneNumber" style="font-size: 15px" type="text" value="18907263863">
    <br><br>
    Start  Month:<input name="startMonth" style="font-size: 15px" type="text" onclick="setmonth(this)">
    <br><br>
    End    Month:<input name="endMonth" style="font-size: 15px" type="text" onclick="setmonth(this)">
    <input style="right: 10%;background: #12aff0;color: #000000;font-size: 15px;border: none;cursor:pointer;height: 22px"
           type="submit" value="Submit">
    <br>
form>

2. 备注


你可能感兴趣的:(Front-End,JSP+Servlet)