Change of Page Title when using location.href

A

Anees

Hi,

I have used the line
location.href ="#top"
to point the page to the top position where i added <a name="top">some
text</a>

Its working Correctly in both Fire fox and IE..
But in IE it does an extra thing
that it adds the href name to the Title of the page

My title before clicking was "Welcome to My site"
and it
becomes
"Welcomes to My site#top" after i clicks

Please help me

Regards
Anees
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,689
Members
48,796
Latest member
Greg L.

Latest Threads

Top