Checking for history +1....

admin

Administrator
Staff member
How do I check to see if history +1 is true? I want to perform a function only if used the back button to return. Something along the lines of:

if (window.history.forward(1)) {

.......

} else {

...

}

help?
 
Back
Top