每日总结 3.14
今天成队作业完成了按线路查询和站点所在线路查询。
下面是演示:
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <script type="text/javascript"> function popOne(){ var a='${test}'+"线路"; alert(a); } </script> <meta charset="UTF-8"> <title>Insert title here</title> </head> <body> <form action="Servse" method="post"> <center> <p>请输入要查询的线路号 <input type="text" name="nol"/> </p> <input type="hidden" name="method" value="find"/> <p> <input type="submit" value="查询"> </p> </center> </form> <form action="Servse" method="post"> <center> <p>请输入要查询的站点 <input type="text" name="name"/> </p> <input type="hidden" name="method" value="findd"/> <p> <input type="submit" value="查询"> <input type="submit" onclick="popOne()" value="提示框显示"> </p> </center> </form> </body> </html>