length; i++) { if (classList[i] === 'someClass') { //do something } } jQuery does not really help you here... var classList = $('#divId').attr(' ...
確定! 回上一頁