对于select的事件
以下是百度问答上COPY的一段。如今WAP日落西山找点资料也够呛。
[url]http://zhidao.baidu.com/question/319235829.html[/url]
<?xml version="1.0" encoding="UTF-8"?>
<%@ page language="java" contentType="text/vnd.wap.wml" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD WML 2.0//EN" "http://www.wapforum.org/dtd/wml20.dtd ">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wml="http://www.wapforum.org/2001/wml" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="viewport" content="width=device-width; initial-scale=1.0; minimum-scale=1.0; maximum-scale=2.0"/>
<title>xxxx</title>
<link href="main_files/wap2.css" rel="stylesheet" type="text/css">
</head>
<body>
<table>
<tbody>
<tr>
<td class="colFrt">A:</td>
<td class="colSec">
<select >
<s:iterator name="category" value="#request.list">
<option onpick="<%=request.getContextPath() %>/xxx.action?id=${id}" value="${id}">${name}</option>
</s:iterator>
</select>
</td>
</tr>
</tbody>
</table>
</body>
</html>
以下是百度问答上COPY的一段。如今WAP日落西山找点资料也够呛。
[url]http://zhidao.baidu.com/question/319235829.html[/url]
<?xml version="1.0" encoding="UTF-8"?>
<%@ page language="java" contentType="text/vnd.wap.wml" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD WML 2.0//EN" "http://www.wapforum.org/dtd/wml20.dtd ">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wml="http://www.wapforum.org/2001/wml" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="viewport" content="width=device-width; initial-scale=1.0; minimum-scale=1.0; maximum-scale=2.0"/>
<title>无标题文档</title>
</head>
<body>
<select class="txt130">
<option onpick="../login">水费</option>
<option onpick="../paymentTypeOption">电费</option>
</select>
</body>