Re: Is it possible to click download button,and run 2 tasks downloading a file and show number of downloads(ajax)simultaneously?

From: Date: Sun, 14 Oct 2012 20:08:32 +0000
Subject: Re: Is it possible to click download button,and run 2 tasks downloading a file and show number of downloads(ajax)simultaneously?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-319454@lists.php.net to get a copy of this message
On Oct 14, 2012, at 7:41 AM, Negin Nickparsa <nickparsa@gmail.com> wrote: > I wanted to refresh the download count when clicking the button first is it > possible? Yes, it is possible. The following is an example of a server-side php script refreshing a Web page via a javascript client-side action: http://php1.net/a/zipcode-states/ The action is triggered by simply using the selection control, which in turn activates an onchange javascript routine that causes a slave php script to run retrieving data from a database returning the data thereby causing an ajax script to update the selection control. All the code (html, javascript) is there except for the php script, which should be trivial to write. Cheers, tedd _____________________ tedd@sperling.com http://sperling.com

« previous php.general (#319454) next »