Re: [PHP] clear the page and continue
Fred wrote: Outstanding James! A different approach to get a more flexible result. Fred. or document.getElementById(blah).style.display = 'none'; innerHTML is not supported by many browsers -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] clear the page and continue
Fred wrote: Outstanding James! A different approach to get a more flexible result. Fred. or document.getElementById(blah).style.display = 'none'; That would also work well. innerHTML is not supported by many browsers I wasn't aware of this, thanks! Cheers, James Relyea. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] clear the page and continue
OK that works as well. Thanks again. James [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Fred wrote: Outstanding James! A different approach to get a more flexible result. Fred. or document.getElementById(blah).style.display = 'none'; That would also work well. innerHTML is not supported by many browsers I wasn't aware of this, thanks! Cheers, James Relyea. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] clear the page and continue
Yes, you can use something like span id=blahSome 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 [EMAIL PROTECTED] 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] clear the page and continue
Outstanding James! A different approach to get a more flexible result. Fred. James [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Yes, you can use something like span id=blahSome 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 [EMAIL PROTECTED] 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php