#表示当前页面的意思,在此是一个小技巧,在href和onclick同时存在是,执行onclick控制页面的跳转
一般onclick会接一个js自定义function,该function控制页面的跳转
如下:
HTML部分:
<a href="#" οnclick="queryAllowImpawnRemoveDraft('<bean:write name="draft" property="idnb"/>')"> 点击</a>
js部分为:
function queryAllowImpawnRemoveDraft(idnb){
document.getElementById("form1").action="<%=path%>/ecds/rpCollateralization/SendImpawnRemoveRequest.jsp?idnb="+idnb;
document.getElementById("form1").submit();
}
最后
以上就是清新信封最近收集整理的关于中#的作用的全部内容,更多相关内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
和
的一个小技巧" class="embed-responsive-item">
中#的作用" class="embed-responsive-item">
发表评论 取消回复