Page Refresh and bookmarks

G

GwenP

Can anyone please tell me how to refresh a page on the click of a button and
jump directly to a bookmark - I have used window.location.reload() but cannot
get any syntax to jump the reload to #bookmark.

Many thanks
GwenP
 
E

Evertjan.

=?Utf-8?B?R3dlblA=?= wrote on 07 jan 2010 in
microsoft.public.inetserver.asp.general:
Can anyone please tell me how to refresh a page on the click of a
button and jump directly to a bookmark - I have used
window.location.reload() but cannot get any syntax to jump the reload
to #bookmark.

Wrong NG. Not ASP related.

window.location is clientside codde.

please do not follow up here.

==============================================

Use

window.location.href = '/x/y.asp#myAnchor';
 

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
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top