阅读背景:

获取img的宽度和高度,并使用javascript将其添加到最近的父级

来源:互联网 

I've figured out how to get the width and hight of an image using javascript. My question is how do I apply the width and height to it's nearest parent in this case it's li using javascript.I've figured out how to get the width and hight




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: