phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SV: [Phpgroupware-developers] some strange beahviour with later upda


From: Dave Hall
Subject: Re: SV: [Phpgroupware-developers] some strange beahviour with later updates of head
Date: Mon, 10 Apr 2006 19:51:02 +1000

On Mon, 2006-04-10 at 11:31 +0200, Sigurd Nes wrote:
>  > document.all is IE only.
> > 
> > Try
> > 
> > <script type="text/javascript">
> > //<[CDATA[
> >     /**
> >     * TODO Document function so others understand it :)
> >     */
> >     function modplace(form)
> >     {
> >             if ( !document.getElementById )
> >             {
> >                     return false; // doesn't support DOM so bailout
> >             }
> >             var val = form.place_id.value;
> >             var div1 = document.getElementById('div1');
> >             if(val == "new_place")
> >             {
> >                     div1.style.display = 'block';
> >             }
> >             else
> >             {
> >                     div1.style.display = 'none';
> >             }
> >     }
> > //]]
> 
> 
> It worked (on both head and .16) - thanks
> 

no problem and enjoy :)

Cheers

Dave





reply via email to

[Prev in Thread] Current Thread [Next in Thread]