php

October

4

jQuery.ajax and jQuery.post Form Submit Examples with PHP

For a version of this using ColdFusion, see the CF jquery form submit post.
Two jQuery functions that allow for the submission of form are the jQuery.ajax function and the jQuery.post function (there is also jQuery.get but that is not addressed here).
More functionality, along with more complexity, is offered with the .ajax function while the [...]

September

7

Session Timeout Warning PHP Example with jQuery/JS

Updated 11-Jan-2010: Improved ability to adjust timeouts and simplified code a bit.
Detecting and warning a user of their session timing out can come in handy and, in some cases, may be necessary. Here is one way of doing this with jQuery/javascript and PHP. There may be a better way to do this, so take this [...]

May

17

jQuery Selection and Targeting of Dynamic ID Attributes

When you have dynamically generated page content, either pulled from a database or otherwise generated on the fly, there are times when you need to target these areas with jQuery.
For this example, six rows of radio buttons for a form are created using a PHP loop. Each unique id is created by concatenating a predefined [...]