摘要: repeater绑定:<%#Eval("c_market_price","¥{0:N2}") %>数字{0:N2}12.36数字{0:N0}13数字{0:D}1234512345数字{0:D8}1234500012345数字{0:F}12345.678912345.68数字{0:F0}12345.678912346数字{0:G}12345.678912345.6789数字{0:G7}1234567891.234568E8货币{0:c2}$12.36货币{0:c4}$12.3656货币"¥{0:N2}"¥12.36科学计数法 阅读全文
posted @ 2012-11-28 13:55 ishibin 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 前台过滤方法function stripHTML(html) { return html=html.replace(/<[^>]*>/g, ""); } //调用stripHTML过滤html标签,然后赋值当前TextBox即可 function returnResult() { document.getElementById("txtRemarks").value = stripHTML(document.getElementById("txtRemarks").innerHTML); ... 阅读全文
posted @ 2012-11-28 11:45 ishibin 阅读(202) 评论(0) 推荐(0) 编辑