Need help reloading the page when someone clicks a link

Discussion in 'JavaScript' started by ACrofford, Aug 7, 2008.

  1. #1
    This is the link code:

    <a href="javascript:loadNewFragment('contact_info.html','contentHolder');" class="chromestyle">Home</a>

    Is there any way to work in code to reload the page when someone clicks the Home link?

    Any help would be appreciated.
     
    ACrofford, Aug 7, 2008 IP
  2. ACrofford

    ACrofford Active Member

    Messages:
    272
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #2
    I figured it out.

    <a href="javascript:loadNewFragment('contact_info.html','contentHolder');" class="chromestyle" onClick="window.location.reload()">Home</a>
    Code (markup):
     
    ACrofford, Aug 7, 2008 IP