xajax simple example needed...

xajax simple example needed...

Wednesday 25 June 2008 3:19:31 pm - 1 reply

Author Message

Maxime Thomas

Sunday 24 August 2008 11:03:02 pm

Hi,

As I remember, you just have to include the javascript in your template, set up xajax.ini with the correct function names, create a class with the right PHP functions, and then update your templates to call the xajax function in javascript. So, when then page loads, your javascript will be triggered and the name of the javascript function will be checked in the INI file and finally your PHP function will be executed and the result will be sent to your javascript.

Max

Maxime Thomas
maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.