我知道你可以测试width()或者height()如果元素的display属性设置为none会怎样?还有什么其他值可以检查以确保元素存在?
width()
height()
javascript jquery if-statement
if-statement ×1
javascript ×1
jquery ×1