📄 order_two.jsp
字号:
<%@page contentType="text/html;charset=utf-8"%><%@include file="../common/taglib.jsp"%><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>生成订单- 当当网</title> <link href="${pageContext.request.contextPath}/css/login.css" rel="stylesheet" type="text/css" /> <link href="${pageContext.request.contextPath}/css/page_bottom.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> function SendWay(sendWay,sendDesc,sendFee){ this.sendWay=sendWay; this.sendDesc = sendDesc ; this.sendFee = sendFee ; } way = new Array() ; function change(){ value = document.getElementById('sendId').value ; waytemp = way[value] ; document.getElementById('sendWay').value = waytemp.sendWay ; document.getElementById('sendDesc').value = waytemp.sendDesc ; document.getElementById('sendFee').value = waytemp.sendFee ; } </script> </head> <body onload="change();"> <%@include file="../common/head1.jsp"%> <div class="login_step"> 生成订单步骤: 1.填写送货地址> <span class="red_bold">2.选择送货方式 ></span> 3.确认订单信息 > 4.生成订单 </div> <br /> <div class="fill_message"> <form method="post" action="orderTwo.do" id="ctl00"> <table class="tab_login"> <tr> <td valign="top" class="w1"> 送货方式: </td> <td> <select name="sendId" class="" id="sendId" onchange="change();"> <c:forEach var="sendWay" items="${sendWay}"> <script> way["${sendWay.id}"] = new SendWay("${sendWay.sendWay}","${sendWay.sendDesc}","${sendWay.sendFee}") ; </script> <option value="${sendWay.id}"> ${sendWay.sendWay} </option> </c:forEach> </select> </td> </tr> <tr> <td valign="top" class="w1"> 发货方式: </td> <td> <input type="text" name="sendWay" id="sendWay" class="text_input" readonly="readonly" /> </td> </tr> <tr> <td valign="top" class="w1"> 发货方式描述: </td> <td> <input type="text" name="sendDesc" id="sendDesc" class="text_input" readonly="readonly" /> </td> </tr> <tr> <td valign="top" class="w1"> 运 费: </td> <td> ¥ <input type="text" name="sendFee" id="sendFee" readonly="readonly" /> </td> </tr> </table> <div class="login_in"> <input type="button" class="button_1" value="上一步" onclick="history.go(-1);" /> <input type="submit" id="btnClientRegister" class="button_1" value="下一步" /> </div> </form> </div> <%@include file="../common/foot1.jsp"%> </body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -