I try to call someFunction()
before creating qtip
$('.selector').qtip({ content: { text: someFunction(this.id) } });
This code works, but I think this is a dirty solution. Could there be a start: event
like in most jquery plugins (e.g. draggable)? I did not find anything about this in the documentation.
EDIT : Well, this code will not work. It runs the function on pageload, not finding.
UPDATE :
function someFunction(someId) {
Peter source share