jquery替换所有指定字符串 jquery怎么替换字符串
jquery怎么替换字符串
function replace()
{
   var str="tao zhang yi love liu weng ling"
   re=new RegExp("l","g")
   var newstart=str.replace(re,"t")
   alert(newstr)
}