When I click on the input, it shows the div on both fields. I want the div to appear on the selected input only.
$('.example').focus(function() {
$('div.tip').show();
$(document).bind('focusin.tip click.tip',function(e) {
if ($(e.target).closest('.tip, .example').length) return;
$(document).unbind('.tip');
$('div.tip').fadeOut('medium');
});
});
$('div.tip').hide();
`. http://stackoverflow.com/questions/8397852/why-p-tag-cant-contain-div-tag-inside-it