J
Joris Gillis
Hi everyone,
I have this nasty little problem to which I can't find a solution:
Consider an anchor <a name="Top" id="Top">Top</a>
How can I follow/execute this link from within javascript? In other words, how can I mimic the action that occurs when a user has clicked a (non-existing) <a href="#Top">click me</a> link, so that the page will be shifted to the top (that's an example - not the actual goal)
The link must be followed in the 'softest' possible manner: no opening of new window or page reloads/refreshes.
something like: document.getElementById('Top').follow()
Any help is greatly appreciated.
I have this nasty little problem to which I can't find a solution:
Consider an anchor <a name="Top" id="Top">Top</a>
How can I follow/execute this link from within javascript? In other words, how can I mimic the action that occurs when a user has clicked a (non-existing) <a href="#Top">click me</a> link, so that the page will be shifted to the top (that's an example - not the actual goal)
The link must be followed in the 'softest' possible manner: no opening of new window or page reloads/refreshes.
something like: document.getElementById('Top').follow()
Any help is greatly appreciated.