[jQuery] Can the click() function be used in an if statement
Hello,
I would like to know whether a jquery click function can be used in an
"if" statement. The reason why I am asking, is because I haven't seen
any examples of this being done on the web. I want to use this
approach because currently Jquery keeps initiating two events from one
mouse click, eventhough the css for each element is different. I
think the best way to avoid this problem is to use flow control to
exclude the other mouse click event. If element A is clicked then
skip B....
Regards
Martin Ikediashi