Adding an attribute in jQuery is very simple you can use the following syntax. $('div.special').attr('id', 'value_of_your_id');.
確定! 回上一頁