loadstyle 相关的软件列表

首页

用正则表达式 动态创建/增加css style script 兼容IE firefox

2020-02-16 标签:正则,表达式,动态,创建,增加,css,style,script,兼容,ie,firefox,str,表示,通过,ajax,返回,xmlrequest,加载,function,loadstyle

str 是表示通过ajax返回的XMLRequest /*动态加载css style*/ function loadStyle(str) { var regExp_src=/[^<>]*/gi; var matchArray_src=str.match(regExp_src); aler