2
I have a button that at the moment is only a button:
<button type="button" name="voltar" id="voltar" class="btn btn-default" style="margin-left: 30px">Cancelar</button>
$('#voltar').click(function() {
alert('voltar');
});
But I need it to go back to the screen where all the records are searched and preferably to exact page, how would it do that?
Palely solved
(header"Location:. /query". $_SERVER['QUERY_STRING']);
It’s not exactly what I wanted yet, but it’ll do for now.
if it’s just back to use there instead of Alert history.go(-1)
– Adir Kuhn
possible duplicate of Back button on the record of a query
– Luis Henrique
It doesn’t work that way, bro. It’s not the right result. =\
– phpricardo