Button playing the same role as the browser arrow

1

I wonder if there is a possibility that button plays the same role as the "back" arrow in the browser? Return to the previous page without refresh the page?

    
asked by anonymous 07.04.2016 / 22:07

1 answer

2

Yes, this way:

<input type = 'button' value = "Voltar" onclick = 'javascript:history.back(-1)'>
    
07.04.2016 / 22:09