Re: How to handle javascript pseudo-url?
- From: "Igor Tandetnik" <itandetnik@xxxxxxxx>
- Date: Tue, 17 Apr 2007 18:17:29 -0400
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
.
- Follow-Ups:
- Re: How to handle javascript pseudo-url?
- From: key88sf
- Re: How to handle javascript pseudo-url?
- References:
- How to handle javascript pseudo-url?
- From: key88sf
- Re: How to handle javascript pseudo-url?
- From: Igor Tandetnik
- Re: How to handle javascript pseudo-url?
- From: key88sf
- Re: How to handle javascript pseudo-url?
- From: key88sf
- How to handle javascript pseudo-url?
- Prev by Date: Re: How to handle javascript pseudo-url?
- Next by Date: How do I find out whether the page has completely loaded after pressing the refresh button
- Previous by thread: Re: How to handle javascript pseudo-url?
- Next by thread: Re: How to handle javascript pseudo-url?
- Index(es):