joecool2005 Posted November 19, 2007 Share Posted November 19, 2007 Hi,Why my history.back does not work inside a link for a image? <a href='java script:void(0);' onClick="history.back()"><img src="pic/tryagain.gif" border=0></a> Thx Link to comment Share on other sites More sharing options...
Ingolme Posted November 19, 2007 Share Posted November 19, 2007 I think it's better to try this:<a href="java script: history.go(-1);"><img src="pic/tryagain.gif" border=0></a> Link to comment Share on other sites More sharing options...
javaholic5 Posted November 19, 2007 Share Posted November 19, 2007 I think it's better to try this:<a href="java script: history.go(-1);"><img src="pic/tryagain.gif" border=0></a> If i'm not mistaken, I think that this will work too:<a href="java script: history.back(-1);"><img src="pic/tryagain.gif" border=0></a> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.