NEO_ONE 发表于 2013-2-7 19:37:14

select&struts2

<s:property value="@com.xzhe.site.bo.SiteTop@getTopHtml()" escape="false"/> onchange="swapOrder(<s:property value='id'/>,this.options.value)"


struts2直接用某个类的静态方法,获得html页面代码,把select当前值(change后的值)作为参数传给js

备忘http://www.agoit.com/images/smiles/icon_redface.gif
页: [1]
查看完整版本: select&struts2