How can I accomplish something like this:
function (e) {
if(e.("#this_button_is_clicked").true)
{//then do this}
});
?
EDIT:
$("body").click
(
function (e) {
if (e.target.className !== cls || e.target.click("#bUpdate")) {
//do this
}
}
);
I have a text box, and whenever I click somewhere else it fires on blur to that text box.But when I click to button looks like it doesn't see it as a 'body.click' so I just wanted to add it in my condition as button.clicked.true