脚本截取一段字符串,提示 请实现properpies();是这样的://注释:x.outerHTML的值是 "<?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /><v:line style="Z-INDEX: 99999; POSITION: absolute" id=C4 class=Line frompoint="EStart" topoint="C3" from = "115,109" to = "422,310" strokecolor = "#06f" strokeweight = "1.6pt"><v:stroke endarrow = "classic"></v:stroke></v:line>"var vml=x.outerHTML;
var vml1=vml.indexOf("<v:");
alert(vml.a.substring(vml1+3,vml1+7));
alert出来的结果是:请实现properpies()【IE8中,别的浏览器没试,因为项目中一些东西只能用IE】求解