Created
September 24, 2019 16:59
-
-
Save parzibyte/fbc2feb27578ea634848e89a2116dbd2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="es"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, | |
shrink-to-fit=no"> | |
<meta name="description" content="AJAX con jQuery y PHP"> | |
<meta name="author" content="Parzibyte"> | |
<title>Traer datos de PHP usando jQuery y AJAX</title> | |
<!-- Cargar el CSS de Boostrap--> | |
<link href="bootstrap.min.css" rel="stylesheet"> | |
</head> | |
<body> | |
<main role="main" class="container"> | |
<div class="row"> | |
<!-- Aquí pon las col-x necesarias, comienza tu contenido, etcétera --> | |
<div class="col-12"> | |
<h1>Petición AJAX GET con jQuery y PHP</h1> | |
<a href="//parzibyte.me/blog" target="_blank">By Parzibyte</a> | |
<br> | |
<button class="btn btn-success" id="btnCargarDatos">Traer datos</button> | |
<p id="respuesta"></p> | |
</div> | |
</div> | |
</main> | |
<script src="jquery-3.4.1.min.js"></script> | |
<script src="script.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment