Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Richard Thomas's Blog:
Pjq - PHP Jquery helper
Mar 01, 2007 @ 13:10:50

In this new blog post today, Richard Thomas shares a simple helper he's created to help tie PHP and Javascript together via jquery - Pjq.

This is a simple php handler, it doesn't try to generate javascript for you, honestly if your using jquery you better already be able to write your own javascript ;).

The goal is to provide a extremely simple way to call php functions from within javascript and either get data back, inject php generated html or call jquery functions from php.

You can check out his demo here - three simple examples showing how to get JSON values, inject HTML, and some more complex work with Javascript and CSS.

tagged: pjq jquery helper javascript simple function demo class pjq jquery helper javascript simple function demo class

Link:


Trending Topics: