Re: add options to select in ather page

From: Date: Mon, 12 Aug 2002 11:16:46 +0000
Subject: Re: add options to select in ather page
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-112111@lists.php.net to get a copy of this message
oh well, it is done via javascript: <script> existingSelectBox[existingSelectBox.length] = new Option("display text", "item value", false); </script> replace the "display text" , "item value" from the popup's selected field value/text good luck, "Wakan" <wakan@bigfoot.com> wrote in message news:5.1.0.14.2.20020812112438.00afed90@pop.tiscalinet.it... > Hi, > I've listbox with some categories in a page. > When I find that there isn't the category I want, clicking on a link, > I enter in the category managment page. > After adding new categories, whenI close that window, > I'd like to dinamically reload the select on the opener page, without > reload all the page. > This because there are other field before the category list. > If the user has already filled other field and I reload, he have to refill > that field again. > Thanks, Carlo > >

« previous php.general (#112111) next »