Skip to main content
edited body
Source Link
Rajaprabhu Aravindasamy
  • 67.2k
  • 17
  • 107
  • 133
if ( $('.panel').length =>>= 2 ) {
    console.log('exists')
}

This should work

if ( $('.panel').length => 2 ) {
    console.log('exists')
}

This should work

if ( $('.panel').length >= 2 ) {
    console.log('exists')
}

This should work

Source Link
Fonzy
  • 691
  • 3
  • 14

if ( $('.panel').length => 2 ) {
    console.log('exists')
}

This should work