Re: select option value into a variable
so i need access using ajax call is it..........
Can you please help me out with an example ...........
On Wed, Sep 15, 2010 at 7:43 PM, Pete <cgrp@xxxxxxxxxxxx> wrote:
>
>
> In message <AANLkTim2HnJ6KCwj06z-XdfL06FrjExnQXjcRZCvXygy@xxxxxxxxxxxxxx<AANLkTim2HnJ6KCwj06z-XdfL06FrjExnQXjcRZCvXygy%40mail.gmail.com>
> >, vijaya lakshmi <vijayalakshmi6jun@xxxxxxxxx<vijayalakshmi6jun%40gmail.com>>
> writes
>
> >Hi,
> >need to take the option value of select into a php variable.
> >
> >Can you plz help me in doing this.
> >
> >ex: <select name="product">
> ><option value="a">Apple</option>
> ><option value="b"></option>
> ></select>
> >
> >so if i select apple then another list box is to be generated.
> >
> >if i select orange a diffrent list box should be generated.
> >
> >Can you please guide me on how to go about this.
> >
> >Thanks in advance......
>
> I have two versions of this running:
> select a continent, then a list of countries in the continent appears,
> select a country and a list of states appears,
> etc
>
> In an older one, I had the select inside an IFRAME, so that only that
> part of the screen appeared to change, and the main screen stays the
> same.
>
> A more modern version uses Ajax to collect the country data for the
> continent (this becomes much more worthwhile when you collect the state
> data for each country).
>
> Have a look at Ajax in Google. Much more flexible. But the old
> fashioned IFRAME is simpler and easier to code if you are new and just
> want to get it working.
>
> --
> Pete Clark
>
> Local sites for Local People in Spain
> http://localFaces.net
>
>
>
--
Thanks & Regards
Vijayalakshmi
[Non-text portions of this message have been removed]
------------------------------------
Are you looking for a PHP job?
Join the PHP Professionals directory Now!
http://www.phpclasses.org/jobs/
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php-objects/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/php-objects/join
(Yahoo! ID required)
<*> To change settings via email:
php-objects-digest@xxxxxxxxxxxxxxx
php-objects-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
php-objects-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
[PHP Home]
[PHP Users]
[PHP Soap]
[Kernel Newbies]
[Yosemite]
[Yosemite Campsites]