Ok, thanks.
Is javascript available in todays epub 2-readers or is that a epub 3 feature? (I googled a bit but found mostly hits in epub 3 docs.)
Edit:
Just tried this on my Kobo Aura HD, nothing seems to happen. Do I need to do something else to get scripting to work, or is it not yet available?
Edit 2:
Looking at
http://epubtest.org/ it seems Kobo is not supporting much of javascript....