如何在javascipt中用变量对vml中polyline的points赋值?
比如我在一个group中定义了一个polyline,并没有给它指定points值,而是在javascript中定义一个变量str(包含了points的值)给它赋值,请问怎么写语句?
------解决方案--------------------
假设polylineEle为vml对象
polylineEle.points.value = "100,200 200,300 200,400 500,600 ";
查询谷 - www.chaxungu.com
怎么在javascipt中用变量对vml中polyline的points赋值
编辑:chaxungu时间:2022-10-02 23:21:56分类:web开发