项目jsp页面上用隐藏input框接收获取数据,在跳转入另一页面前,js操作修改数据,但返回时发现无效。
原页面:
<input type="hidden" value="<%=request.getAttribute("wxname")%>" id="wxname"/>
解决方法:
将 type="hidden" 换成 style="display:none" 解决。
项目jsp页面上用隐藏input框接收获取数据,在跳转入另一页面前,js操作修改数据,但返回时发现无效。
原页面:
<input type="hidden" value="<%=request.getAttribute("wxname")%>" id="wxname"/>
解决方法:
将 type="hidden" 换成 style="display:none" 解决。
本文标题:jsp 页面跳转后修改数据,返回时不更新
本文链接:https://www.haomeiwen.com/subject/sagxrctx.html
网友评论