我正在尝试仅在HTML元素为空时使用jQuery调用函数.
像这样的东西:
if (isEmpty($('#element'))) { // do something }
javascript jquery
javascript ×1
jquery ×1