本月博客排行
年度博客排行
-
第1名
青否云后端云 -
第2名
zw7534313 -
第3名
wy_19921005 - 大家都说我很棒
- liyihz2008
- gengyun12
- e_e
- luxurioust
- zysnba
- robotmen
- gaozzsoft
- jywhltj
- hbxflihua
- gashero
- qepwqnp
- 解宜然
- vipbooks
- sichunli_030
- fantaxy025025
- wallimn
- cuityang
- ssydxa219
- gdpglc
- javashop
- ranbuijj
- jickcai
- johnsmith9th
- hanbaohong
- appalese
- gaojingsong
- weiyides
- java-007
- zhangyi0618
- AVI
- laiyangdeli
- 淡看人生
- liunancun
- xpenxpen
- tanling8334
- xyuma
- lemonhandsome
- nychen2000
- 龙哥IT
- ouanui
- conkeyn
- jveqi
- panshunchang
- wjianwei666
- MagicLee
- sam123456gz
最新文章列表
Js字符串全部替换replaceAll
<script language="javascript">
//参数一为被替换的字符串 参数二为被匹配的字符串 参数三为替换后的字符串
function replaceAll(str, sptr, sptr1){
while (str.indexOf(sptr) >= 0)
{
str = str.replace(sptr, s ...