[PHP4BETA] re:Refeshing another frame on Submit
| From: | Danny Heijl | Date: | Wed, 23 Feb 2000 16:23:23 +0000 |
| Subject: | [PHP4BETA] re:Refeshing another frame on Submit | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-10741@lists.php.net to get a copy of this message | ||
Put some javascript in the submit button like :
onclick='parent.frames[0].location="somescript.php3"; return true'
Danny
---
and it will refresh the second frame automatically
----- Oorspronkelijk bericht -----
Van: "Joseph H Blythe" <joe.blythe@binarylogic.com.au>
Nieuwsgroepen: php4.beta
Verzonden: woensdag 23 februari 2000 7:22
Onderwerp: [PHP4BETA] re:Refeshing another frame on Submit
> Hey all,
>
> Sorry but this is more of an Html question, although I am using PHP to
> generate the code.
>
> I was wondering if anyone knew how to refresh a frame when someone hits
> the submit button in a form on another frame example:
>
> User hits submit in the main frame and it also updates the index frame.
>
> I have looked through the HTML4.1 spec and can't seem to find anything
> like it. I guess you would use the onsubmit event in the body tag but
> does anyone know an refresh directive for another page?
>
> Thanks.
>
> Joseph Blythe
>
> mailto:joe.blythe@binarylogic.com.au
>
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net
>