Hello, I am trying to do something like this. if a button is clicked call one function
$('.saveButton').click(function(){ ////call one function }); else call another function. But I don't have any idea how to implement if else in a clicked event. Can any one help me?