Download the PHP package g33kme/pquery without Composer
On this page you can find all versions of the php package g33kme/pquery. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download g33kme/pquery
More information about g33kme/pquery
Files in g33kme/pquery
Package pquery
Short Description PQuery is a simple PHP Wrapper for HTML/jQuery AJAX forms and AJAX links. Easy to use in your HTML views or templates.
License MIT
Homepage https://geekme.com
Informations about the package pquery
PQuery
PQuery is a simple PHP Wrapper for HTML/jQuery AJAX forms and links. Easy to use in your HTML views or templates.
You can also use PQuery for HTML Forms and Links to update content on your loaded page via AJAX. You can simply inject content with forms and links to your HTML content.
You can also use PQuery as server side form validator.
1. Installation: PQuery
This library is installable via Composer:
You can also simply manually include source/pquery.php
from this repository to your project and use the PQuery PHP Class.
Requirements
This library requires PHP 7.1 or later and if you use Composer you need Version 2+.
You also need to add the jQuery Framework to your HTML template
3. How to use PQuery
Here we create a simple HTML Form where we can setup form elements that will be sent via PQuery to your ajax.php file.
Create an AJAX HTML Form
Attention! You can not create second PQUERY::form(); in an already create form. However, there is a trick, simply create a PQUERY::link(); in that form. To create an AJAX Link instead of a Form read below.
Create an AJAX Link
You can also create PQuery AJAX Links which you can also add in a form. Keep in mind that you can not add a form in a form, you can only add links in an AJAX Form.
Creating an ajax.php for our AJAX Form's and Link's
The output of your ajax.php will be injected via AJAX to your HTML Content.
🙏 Supporters
You own some Cardano ADA? Stake your ADA to our pool with ticker: GEEK
GeekMe Stake Pool