js中name.replace(/\.n/g, '.')

日期:2015-02-07 09:25:22 人气:1

js中name.replace(/\.n/g, '.')

last.html var name = ".n.n.n.n.n"; // 把成对的.n转换为. name = name.replace (/\.n/g, '.'); alert(name)
    A+
热门评论