How to use history.back for mozilla firefox

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mona02
Forum Newbie
Posts: 3
Joined: Thu Mar 12, 2009 11:41 am

How to use history.back for mozilla firefox

Post by mona02 »

Hi friends
I am using iframe and i have one menubar on the top of my page now when i select option from menubar it opens that page in iframe using ajax and now i wan't that when user clicks on back link it should go to the previous loaded page in the i frame . i m using window.history.back() it is working fine in I.E but in mozilla it is not how can correct this error so that it work fine and one more question how to use two different css for I.E and mozilla




thanks in advance
Komp
Forum Newbie
Posts: 4
Joined: Thu Mar 12, 2009 11:42 am

Re: How to use history.back for mozilla firefox

Post by Komp »

try using "javascript:history.go(-1);"
Post Reply