homepage Welcome to WebmasterWorld Guest from 54.166.122.86
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
On click refresh Page
dcool86



 
Msg#: 4361189 posted 9:32 pm on Sep 11, 2011 (gmt 0)

Hello I'm trying to find out if this is possible if so how?

What I need is this link below

<a href='www.example.com' target='_blank'>

to open in a new window as it is

and refresh the page the current link is on when it's clicked.

Thanks

 

Marshall

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4361189 posted 2:18 am on Sep 12, 2011 (gmt 0)

Have to admit, I'm not sure if onClick works on a link, but you could try
<a href='www.example.com' target='_blank' onClick="javascript:history.go(0)">

And you might have to add a <meta http-equiv="no-cache"> to the page to ensure a cached copy is not loaded.

Marshall

xizheyb



 
Msg#: 4361189 posted 8:35 am on Sep 20, 2011 (gmt 0)

I agree to add <meta http-equiv="no-cache">

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved