I am using Jquery tooltip.
How can i display tooltip onclick of textbox insted of mouseover.
what css have use to display tooltip arrow at center(for second textbox) for second textbox its moving down.
HTML
<br/><br/>
<input id="ag22" title="We ask for your age only for statistical purposes.We ask for your age only for statistical purposes.We ask for your age only for statistical purposes.We ask for your age only for statistical purposes.We ask for your age only for statistical purposes." />
<br/><br/>
<input id="ag22" title="We ask for your age only for statistical purposes." />
jQuery
$(document).tooltip({
position: {
my: "left center",
at: "right center",
using: function (position, feedback) {
$(this).css(position);
$("<div>")
.addClass("arrow")
.addClass(feedback.vertical)
.addClass(feedback.horizontal)
.appendTo(this);
}
}
});
Here is the link i have tried: http://fiddle.jshell.net/b7SCN/