I construct this link in my main.js
file. Unfortunately, instead of calling the fuction getNextPage
it causes my browser to scroll upwards.
<a href="javascript:getNextPage();">
doesn’t work either.
Things do work corretly when typed into the HTML code of my page. I do however then lose my scope variables.
Any ideas?