Page Refresh and bookmarks

Discussion in 'ASP General' started by GwenP, Jan 7, 2010.

  1. GwenP

    GwenP Guest

    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
     
    GwenP, Jan 7, 2010
    #1
    1. Advertisements

  2. GwenP

    Evertjan. Guest

    =?Utf-8?B?R3dlblA=?= wrote on 07 jan 2010 in
    microsoft.public.inetserver.asp.general:
    Wrong NG. Not ASP related.

    window.location is clientside codde.

    please do not follow up here.

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

    Use

    window.location.href = '/x/y.asp#myAnchor';
     
    Evertjan., Jan 7, 2010
    #2
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.