Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-08-22 17:32:44

Joey
Member
From: Netherlands
Registered: 2005-01-19
Posts: 257

PHP help transform onLoad to AJAX

I’m looking for some PHP help. I have a few seperate php files which I want to include using an include 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: onChange="document.getElementById('var').submit();". 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


Regards,

Joey

Offline

Board footer

Powered by FluxBB