js总结

array.replace(/\"/g,"'"); //对象生成的json字符串会带有双引号,表单提交时会带来问题,这里吧双引号替换为单引号

//给页面增加分隔符

<hr style="width:0px;height:500px; float: left;border-style: solid;border-width: thin thin thin thin;margin-left: 50px"/>

posted @ 2016-06-14 23:49  user_孙  阅读(97)  评论(0编辑  收藏  举报