PDA

View Full Version : Php function in Extjs



bubbless
6 Jun 2008, 7:13 AM
Hi

I want to use a php function when a menu item or a tab is clicked.
Is that possible?
I think the server executes php before javascript.

devnull
6 Jun 2008, 7:24 AM
front end and back end are completely separate, or at least should be. you can have the handler for that menu item or tab make an ajax call to a php script that contains the function you wish to run.