jquery中attr()是获取/修改元素的属性和值(和Html标签有关);css()是获取/修改元素的样式属性(和style有关)。 attr()用于设置标签的属性,比如src,href, ...
確定! 回上一頁