Are you first timer at lazacode.org? Why not join us and start exchange your programming knowledge with everyone. Register today!

jQuery - else if condition

0 votes
17 views
added Feb 15 in jQuery by LC Marshal Captain (20,510 points)
if($('body').hassClass(!excptThisPage)) {
    // do thiss
}
else if ($('body').hasClass(excptThisPage)) {
// 	do this
}
else {
    // do nothing
}

 

Please log in or register to response this reference.

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...