Tuesday, 15 February 2011

javascript - JQuery tooltip visible only on input field focus -



javascript - JQuery tooltip visible only on input field focus -

how can create tooltip visible on input field focus , hide tooltip when focus gone. don't want tooltip appear on mouseover or go invisible on mouseout.

$("input[id$=textboxid]").focus(function() { $("div[id$=tooltip]").show(); }); $("input[id$=textboxid]").blur(function() { $("div[id$=tooltip]").hide(); });

this general thought can manipulate according needs

javascript jquery jquery-ui jquery-plugins mouseover

No comments:

Post a Comment