请教下拉框问题 onchage 事件里提交 form 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 生成你想要的下拉框有两种方法(我目前所知的,希望有用):<select name="rolelist" property="" onChange="document.forms[0].submit"><logic:iterate id="row" name="rows"><option value="<bean:write name="row" property="rolename" />"><bean:write name="row" property="roledescribe" /></option> </logic:iterate>这种是,你的下来框没有和FormBean中的属性对应起来的情况还有一种是<html:select property="role" multiple="true" size="8" style="width:200pt" onChange="...."><html:options collection="roles_row" name="row" property="rolename" labelProperty="roledescribe" /></html:select>最后在你 的Action中返回和本页面对应的Forward就可以啦 关于在超链接中传值问题 求一个正则 如何在指定位制根据鼠标点击划直线和垂线? 请教个问题... js的问题 如何用javascript在xml查找命名空间的节点。 请帮忙改一段代码,使其能适应FireFox浏览器。 菜单问题? 怎樣將字符串轉變對象........... jquery easyui 布局问题 如何动态放大/缩小整个页面的字号及间距 大侠帮帮忙,调试了一个上午了,谢谢~~
<select name="rolelist" property="" onChange="document.forms[0].submit">
<logic:iterate id="row" name="rows">
<option value="<bean:write name="row" property="rolename" />"><bean:write name="row" property="roledescribe" /></option>
</logic:iterate>
这种是,你的下来框没有和FormBean中的属性对应起来的情况
还有一种是
<html:select property="role" multiple="true" size="8" style="width:200pt" onChange="....">
<html:options collection="roles_row" name="row" property="rolename" labelProperty="roledescribe" />
</html:select>
最后在你 的Action中返回和本页面对应的Forward就可以啦