myFun() should call eihter click of any class(.one, .two), but if I click on the ‘.one’ class need to call myFun() but it shouldn’t call display() function which is within that myFun().
myFun() should call eihter click of any class(.one, .two), but if I click on the ‘.one’ class need to call myFun() but it shouldn’t call display() function which is within that myFun().