Page 1 of 1

Browser Back Button

Posted: Thu Dec 15, 2011 12:56 am
by Live24x7
In my workflow, when a user clicks aform button, i display an alert using javascript .
When he clicks OK on the alert, i want to execute the browser back button action automatically.
How do i achieve this ? :roll:


Sorry, if this does not pertain to php

Re: Browser Back Button

Posted: Thu Dec 15, 2011 2:50 am
by social_experiment
What about using history.back() for this; when the button is clicked you call the function; Not sure how though

Re: Browser Back Button

Posted: Thu Dec 15, 2011 12:47 pm
by Live24x7
thanks social_experiment - will explore this and if it works out, will share it here.