87,907
社区成员
发帖
与我相关
我的任务
分享
//注释: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));