onclick - page should stay where it is in browser.

Giganews Newsgroups
Subject: onclick - page should stay where it is in browser.
Posted by:  Simon Wigzell (simonwigze…@shaw.ca)
Date: Tue, 29 Jul 2003

I'm using onclick in a  link. I would like the page not to go back to the
top when I click on the link.

I'm using :

<a onclick="popEditor()" href="#">Editor</a>

This takes the page up top the top. If it's href="" then the results of the
popEditor() function appear in the current page. What is the syntax? Thanks!
I should know better by now but I finally got sick of my onclicks making the
current page go to the top and now it's time to fix it.

Replies