Re: call func from button

From: Date: Fri, 17 Jun 2005 22:12:28 +0000
Subject: Re: call func from button
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-217157@lists.php.net to get a copy of this message
Is there a way to call a php function from a button press to display the results further down on the same page? I want to avoid setting up an 'output-area' in a frame or having to put my function in a separate script.
http://developer.apple.com/internet/webcontent/xmlhttpreq.html http://www.xml.com/pub/a/2005/02/09/xml-http-request.html Quoting... As deployment of XML data and web services becomes more widespread, you may occasionally find it convenient to connect an HTML presentation directly to XML data for interim updates without reloading the page. Thanks to the little-known XMLHttpRequest object, an increasing range of web clients can retrieve and submit XML data directly, all in the background. To convert retrieved XML data into renderable HTML content, rely on the client-side Document Object Model (DOM) to read the XML document node tree and compose HTML elements that the user sees.

« previous php.general (#217157) next »