Posted by Jerry Stuckle on 09/30/44 11:59
bvdb wrote:
> Hello,
> Erwin Moller wrote:
> ...
>
>>[Why not post this is a Javascript newsgroup?]
>
>
> Because there is no Javascript involved in my code, just HTML and PHP.
>
>
>>Two things:
>>1) You didn't describe how you detect the click.
>>Try using the onClick-event handler in Javascript ...
>
>
> My code works fine:
> If I load the list frame in a separate window and reload it the marking
> gets toggled on and off each time.
>
>
>>2) Caching. *IF* this is a caching-issue, just append some timestamp to the
>>url to prevent caching.
>
>
> This only works if the whole page would be regenerated - but the record
> frame remains the same, so the timestamp would also stay the same which
> makes it senseless.
>
The problem is each frame pretty much acts like a separate window from
the server's POV. That is, you can't force a frame to load from the
server end. You can update your data in one frame and send it to the
server. But only that frame will get updated - PHP can't force another
frame to get updated.
For that you'll have to use Javascript to request the second frame be
reloaded.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|