![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jsp
转角人生
精通java...
展开
-
页面保留两位小数
1:引入标签: <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> 2:使用format转换: 其中money是后台获得的数据 <fmt:formatNumber type="number" value="${money }" pattern="0.00" maxFractionDigits="2"/>原创 2017-05-11 11:04:57 · 1071 阅读 · 0 评论 -
页面中数据全部选中,将数据传到后台
示例图如下: 前台代码如下: <input type="button" class="searchbtns" value="推送选中用户" onclick="AllShouldPush()"> <table class="personlist"> <thead>原创 2017-11-29 15:52:13 · 4293 阅读 · 1 评论