Re: How to handle javascript pseudo-url?



key88sf@xxxxxxxxx wrote:
Igor - any ideas why it is trying to navigate back to the home page?

Well, it tries to navigate to the home page because of href="". The
empty string is interpreted as a relative URL which, when merged with
the base URL of the page, produces the URL of the home page.

What I don't understand is why "return false;" from onclick handler does
not suppress the navigation.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.