ayok Posted March 4, 2008 Share Posted March 4, 2008 Hi, I have another problem with firefox and javascript. I created a back button with javascript that will send the page back with exact page position before. I use this code: <a href='#' onClick=history.go(-1)>Back</a> It works in IE and opera, but what's the problem with firefox? thank you, ayok Quote Link to comment Share on other sites More sharing options...
CrazeD Posted March 4, 2008 Share Posted March 4, 2008 <a href="javascript:history.go(-1)">Back</a> Try that. Quote Link to comment Share on other sites More sharing options...
GameYin Posted March 4, 2008 Share Posted March 4, 2008 Omg my internet was being slow so I couldn't post the response. I was originally going to post <a href="javascript:history.go(-1)">Back</a> too. Ghey!!! Quote Link to comment Share on other sites More sharing options...
ayok Posted March 5, 2008 Author Share Posted March 5, 2008 Thanks guys, But.. it still doesn't work in firefox. I tried firefox's back button, it's the same. The page position goes to the top of the page. ayok Quote Link to comment Share on other sites More sharing options...
ayok Posted March 5, 2008 Author Share Posted March 5, 2008 Funny, it works after i installed firefox javascript debugger. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.