11
检查element是否为div
如何检查是否$(this)是一个div,ul还是blockquote? 例如: if ($(this) is a div) { alert('its a div!'); } else { alert('its not a div! some other stuff'); }
75
javascript
jquery
html
css