Re: How to get the bookmark from url??
- From: "McKirahan" <News@xxxxxxxxxxxxx>
- Date: Sun, 16 Mar 2008 10:30:57 -0600
"BD" <JustMe@xxxxxxxxxxx> wrote in message
news:#hYYccvhIHA.5820@xxxxxxxxxxxxxxxxxxxxxxx
If page1.htm has a link that for example is <a
href="http://page2.htm#c2>C2</a>. How can I retrieve the "c2" in page2.htm
when it loads? Is there any way at all. I need it to make a div which is
<div id="c2" style="display:none;">
visible on load.
window.location.hash.substr(1);
.
- Follow-Ups:
- References:
- How to get the bookmark from url??
- From: BD
- How to get the bookmark from url??
- Prev by Date: How to get the bookmark from url??
- Next by Date: Re: How to get the bookmark from url??
- Previous by thread: How to get the bookmark from url??
- Next by thread: Re: How to get the bookmark from url??
- Index(es):