Regresar a la pagina anterior con jquery History back() Method

W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.

https://www.w3schools.com/jsref/met_his_back.asp

Cargando donaciones...

PLUGINS DISPONIBLES PARA USUARIOS, SUSCRIPTORES O CANJEA PUNTOS

#jquery

W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.

Example

Create a back button on a page:

<button onclick="history.back()">Go Back</button>

The output of the code above will be:

Comentarios


Sin comentarios


Publicado el 2022-12-24 | 06:56 | #2494

QR Code