Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created September 24, 2019 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/66f97efcb16ebfd296d71f403116365a to your computer and use it in GitHub Desktop.
Save parzibyte/66f97efcb16ebfd296d71f403116365a to your computer and use it in GitHub Desktop.
<!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