Re: clear the page and continue
| From: | James | Date: | Mon, 04 Jul 2005 03:57:20 +0000 |
| Subject: | Re: clear the page and continue | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-218067@lists.php.net to get a copy of this message | ||
Yes, you can use something like <span id="blah">Some stuff</span> and use javascript to alter the element's value (the contents between the span tags).
document.getElementById("blah").innerHTML="some new stuff"
Hope that is what you wanted,
James Relyea.
----- Original Message ----- From: "Fred" <bloggsfred00@hotmail.com>
To: <php-general@lists.php.net>
Sent: Sunday, July 03, 2005 11:41 PM
Subject: [PHP] clear the page and continue
I have managed using php to: 1/ send some html to the client requesting patience 2/ execute some external process 3/ send results to the client so it appears further down the same page What I would like to do is: 1/ send some html to the client requesting patience 2/ execute some external process 3/ clear the clients page 4/ send results to the client so it appears as the only content on the page but do it without loading a second page client side via javascript or whatever. The reason for the same page is so that if the client bookmarks the results 4/, a new visit via the bookmark will start at 1/ Is possible? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php