how to use if statement with two click events in jquery code example
Example: if else jquery click function
if(jQuery('#id').click) {
//do-some-stuff
} else {
//run function2
}
if(jQuery('#id').click) {
//do-some-stuff
} else {
//run function2
}