|
Posted by Jonathan N. Little on 10/30/04 11:31
ark312 wrote:
> Hello,
>
> I try to update several frames in one mouseclick. There is an error in the
> code below, that is for sure. The Text-frame doesn't get updated. What do I
> do wrong?
>
> Thanks,
>
> Sjoerd
>
>
>
>
> <a href="Mirte.htm"
> target="Info"
> onclick="if (parent.frames.Play) {
> parent.frames.Play.location.href = 'PlayMirte.htm';
> }
> and
^^^
JavaScript does not have logical operator 'and', it is '&&', i.e.,
var result = TRUE && TRUE; //result will be TRUE.
Not like Perl, PHP and others that have 'and', 'or', 'not' for '&&',
'||' and '!'.
> if (parent.frames.Text) {
> parent.frames.Text.location.href = 'Text0000.htm';
> }
> return true;">
> Mirte
> </a>
>
>
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
[Back to original message]
|