RE: [PHP] Get variable from PHP before submit
| From: | Rich Gray | Date: | Sun, 02 Mar 2003 01:13:57 +0000 |
| Subject: | RE: [PHP] Get variable from PHP before submit | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-137697@lists.php.net to get a copy of this message | ||
> I'm trying to implement the following functionality into the file
> test.php:
>
> When I scroll down the page and then hit a button, the page
> should remember
> the scrolled position, refresh the page and then scroll down to the
> remembered position. I've almost managed to make this work, but
> only almost.
>
> The first time I click one of the buttons, the page won't scroll,
> but after
> that it works fine. I think the reason for this is that the function
> hentKoordinat() gets called before $teller is set. hentKoordinat() uses
> $teller.
>
> Anyone know a way to make this work?
>
> Thanks alot!
>
> Lars
I've probably misunderstood but can you not use an HTML anchor...?
Rich