兩者之間的寫法在任何項目是否會不同的區別?$('#whatever').on('click', function() { /* your code here */});and$('#whatever').click(function() { /* your code here */});
on('click') vs .click() ?
白豬掌柜的
2018-08-13 16:16:01