[ACCEPTED]-Display a fixed "ToolTip" when an input receives focus, using jQuery-jquery

Accepted answer
Score: 13

You could create your tooltip manually in 6 an element hidden with display:none which would be shown 5 in a focus event handler.

$("input[id$=tbMyTextbox]").focus(function() {

$("input[id$=tbMyTextbox]").blur(function() {

Another possibility 4 might be using the show option in qTip. I've 3 never used qTip, so this is purely theoretical 2 on my end, but you should be able to specify 1 show: { when: { event: 'focus' } } in the options.


Score: 3
$(function() {
        content: 'My Tooltip Text',
        show: 'focus',
        hide: 'blur'


More Related questions