I have an html login form I want to present through blockui How can i unblock the ui, when a user clicks the ui? In otherwords, if the user decides they don't want to login after-all, instead of having to click a cancel button, i want the option of being able to unlock it by clicking anywhere outside the login form.
I tried variations of this but no success: $("body").not("#form1").click(function() { $.unblockUI(); });