Re: clear the page and continue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>
To: <php-general@xxxxxxxxxxxxx>
Sent: Sunday, July 03, 2005 11:41 PM
Subject:  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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux