Ive no idea why this throws back an error
if((("#panel").is(':visible') && elm.length==0)||((("#panel").is(':hidden') && elm.length>0))){
showSubMenu()
}
("#panel").is is not a function ???
Could someone explain to me the logic of why this causes an error ? so that I dont repeat ?
"#panel" is a string.
Strings have no .is() method.
You probably want to call $ to make a jQuery object.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With