I'm using the jQuery Tools tooltip plugin, which is initialized with $('selector').tooltip()
. I'd like to call this on any current or future .tooltipper
element. I figured that the following would work:
$('.tooltipper').live('ready', function(){
$(this).tooltip()
}
But it was unsuccessful---the ready event did not fire. The same for load. I've read that livequery can produce the result of I'm looking for, but surely there is a way to use jQuery .live()
to pull it off, considering the documentation says that it works for all jQuery events, of which I believe ready
is one.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…