Using the data() method to update data does not affect attributes in the DOM. To set a data-* attribute value, use attr . Prior to jQuery 1.4.3, .data( obj ) ...
確定! 回上一頁