小弟第一次提问
这几天在弄一个分页的跳转功能代码如下:跳转到:
<html:select name="page" property="selectPage"
onchange="pageNumber(this)">//这里获得页码,提交到Action
<html:optionsCollection name="page"
property="pages" label="label" value="value" />
</html:select>
<html:submit></html:submit>请问如何实现在选择select 下拉数字的时候直接跳转到该页面,不用像这个一样要点submit
这几天在弄一个分页的跳转功能代码如下:跳转到:
<html:select name="page" property="selectPage"
onchange="pageNumber(this)">//这里获得页码,提交到Action
<html:optionsCollection name="page"
property="pages" label="label" value="value" />
</html:select>
<html:submit></html:submit>请问如何实现在选择select 下拉数字的时候直接跳转到该页面,不用像这个一样要点submit
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货