I am trying (and mostly succeeding) to use a tipsy jQuery plugin in my greasemonkey script. I use the @require meta tag to import jQuery and tipsy js, and it works, but with a few caveats that I'm trying to overcome.
Access to elements as a pure jQuery object fails, so I am disconnecting from using DOM functions to get my elements:
$('#login').find('a:first').tipsy();
$(document.getElementById('login').getElementsByTagName('a')[0]).tipsy();
Does anyone know why? Do you need more information? TIA!
source
share