Back Problem/Doubt button

Asked

Viewed 64 times

0

I have a problem with a back button because I have a workers page that can be opened in several places because it is the ID1

Example: Positive Query: Show me the workers page

Negative query: Show me the workers page

How can I put a button back to the previous page being different pages?

1 answer

1


It’s hard to understand what you meant, but you want to go back to the previous page before accessing the page workers regardless of which one.

If that is your need, the code below will solve your problem.

jQuery:

$('.voltar').click(function() {
    history.back()
});

Browser other questions tagged

You are not signed in. Login or sign up in order to post.