定义和用法. attr() 方法设置或返回被选元素的属性值。 根据该方法不同的参数,其工作方式也有所差异。 ... $(selector).attr(attribute,function(index,oldvalue)) ...
確定! 回上一頁