decodeURI,将URL中的中文转码,变为中文

    var menuTitle =decodeURI( url.substring(url.lastIndexOf('?menuTitle=')+11,url.lastIndexOf('&url=')));

posted @ 2017-03-14 10:42  carr_css  阅读(2289)  评论(0)    收藏  举报