Here is what I have:
$(document).ready(function () {
$('#H-Alert').hide();
$('html').click(function (e) {
if (e.target.className == '.h-textbox') {
$('#H-Alert').show();
}
else {
$('#H-Alert').hide();
}
});
});
I have referenced this:
Any help is appreciated.