An open API service indexing awesome lists of open source software.

https://github.com/parzibyte/jquery-ajax-php

Ejemplos de GET y POST en jQuery usando AJAX. PHP es usado en el servidor
https://github.com/parzibyte/jquery-ajax-php

ajax form get html jquery json php post

Last synced: 9 months ago
JSON representation

Ejemplos de GET y POST en jQuery usando AJAX. PHP es usado en el servidor

Awesome Lists containing this project

README

          

# AJAX, jQuery y PHP
Ejemplos de peticiones HTTP asíncronas de JavaScript usando jQuery, llamadas a un servidor con PHP.

https://parzibyte.me/blog

## Cargar JSON o HTML
Usar el método `$.get` de jQuery para cargar JSON o HTML:
![Traer JSON desde PHP usando AJAX y jQuery](https://parzibyte.me/blog/wp-content/uploads/2019/09/AJAX-con-jQuery-y-PHP-Obtener-HTML-con-get.gif)

Tutorial: [https://parzibyte.me/blog/2019/09/24/ajax-php-jquery-carga-datos/](https://parzibyte.me/blog/2019/09/24/ajax-php-jquery-carga-datos/)

## Enviar formulario
Enviar un formulario usando AJAX con el método `$.post` de jQuery. Procesarlo con PHP:
![Enviar formulario a PHP con jQuery; usando AJAX](https://parzibyte.me/blog/wp-content/uploads/2019/09/Enviar-formulario-con-jQuery-y-AJAX-a-PHP.gif)

Tutorial: [https://parzibyte.me/blog/2019/09/24/formulario-php-jquery-ajax/](https://parzibyte.me/blog/2019/09/24/formulario-php-jquery-ajax/)