[jQuery] clueTip with dynamic ajax parameter
I'm modifying sgrover's dynamic example from http://grover.open2space.com/node/191,
but can't get past the problem with having to trigger the mouseover/
hover event twice to get the correct text to show. Any ideas?
$(document).ready(function() {
$(".helptext").hover(function() {
var helptext_id = $(this).attr("id").toString();
$('.helptext').attr('rel', '../../AJAX/
GetHelpText.aspx').cluetip({
showTitle: false,
ajaxSettings: {
type: "GET",
data: "q=" + helptext_id
}
});
});
});