ajax

PHP: PHP threader – execute server side task using AJAX

June 26, 2012
By

Name: PHP Threader Author: asd Description: This class can be used to trigger the execution of multiple server side tasks via AJAX. It generates Javascript to trigger the execution of one ore more PHP script by sending an AJAX request to a given URL. Multiple scripts may be executed in parallel as it it...

Read more »

ajax: javascript to remote php to update

November 22, 2011
By
ajax: javascript to remote php to update

Here is a code to update a section after looking up info, using AJAX: // the following will save changes to the table function makePOSTRequest(url, parameters, divarea) { var http_request = false; if (window.XMLHttpRequest) { // Mozilla, Safari,… http_request = new XMLHttpRequest(); if (http_request.overrideMimeType) { http_request.overrideMimeType(‘text/xml’); } } else if (window.ActiveXObject) { // IE...

Read more »