I am writing a footnote popup tooltip for epubs at the moment and I'm frustrated with the lack of documentation available on what javascript works and doesn't work inside epub, using iBooks specifically.
In my experience, using jQuery, doing a basic show/hide of an element does work, but DOM manipulation does not, and getting positions of elements is sketchy at best.
Has anyone worked with javascript in epub before and is willing to share best practices? Is it advisable to use jQuery, or can you get more functionality using vanilla javascript? Thanks!