Implementing AJAX in a script which will be included

I’m looking for some PHP help. I have a few seperate php files which I want to include using an [php]include[/php] command. However, the scripts contain dropdown menus which cause the php script to be reloaded upon click from the dropdown box. This of course does not work if the script is included.

The reloading is done using the following code inside the select tag: [php]onChange=“document.getElementById(‘var’).submit();”[/php]. Is there a quick way to rewrite these files to an AJAX enabled script or so such that I can easily include these files?

Thanks for your suggestions

Sponsor our Newsletter | Privacy Policy | Terms of Service