0

i want to do something when the user click on window.hostory.back() Is there such a thing? Would appreciate help!

like:

$(document).on('click', window.history.back(), function () {//guest what?})

update

in the screen u have link:

<a class="Active" href="whatEver">

and this script:

$(document).on("click", ".Active", ShowModal);

When I return to the previous page, (click on the browser arrow) the model is displayed again and does not disappear. What to do to hide it?

0 Answers0