Re: javascript ?

From: Date: Mon, 23 Jul 2001 22:57:11 +0000
Subject: Re: javascript ?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-59270@lists.php.net to get a copy of this message
the second method should be hide() "Dc" <aprilfoolboy6@NOyahoo.SPAM.com> wrote in message news:20010723224330.57790.qmail@pb1.pair.com... > You will need to use DHTML with javascript. Try www.docjavascript.com and > search for dhtml columns. I'm sure he has something about turning on and off > the display of items. > > The basic idea is you will change the display properties from none to block > and vice-versa. > > example > > function show() { > > rElement = document.getElementByID("ToGoDiv"); > rElement.setAttribute("display","block"); > > } > > function show() { > > rElement = document.getElementByID("ToGoDiv"); > rElement.setAttribute("display","none"); > > } > > > "Angel Behar" <abehar@pacificnet.com.mx> wrote in message > news:003101c113a7$7ae63d20$01000001@pacificnet.com.mx... > > Hi !!! > > > > I know maybe this is not the right place to make this question but I have > > been a PHP user for long time and this list had been very helpful. > > > > I want to create a form which once you select a radio button or a drop > down > > menu display the proper fields according to the selection. > > > > Let say that we have two options : To go and Pick Up. If the user select > to > > go then automatically display the address field, zip field etc, if the > user > > select pick up display the time field etc. > > > > I 've been looking a lot of javascript sites but can't find something > > similar to that I want. > > > > Hope any of you can help me. > > > > Thanks in advance. > > > > Angel. > > > > > >

« previous php.general (#59270) next »