Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

Ajax Programming

Dynamic Combo Boxes with AJAX


I need 3 combo boxes to populate with country/county/city information.

Depending on what is chosen in the first combo box will display new
options in the second... etc.

Has anyone got a script example they could post a link to?

Have looked on Google without any luck.
Thanks

Here's one using the Nitobi Combo Box:

http://www.nitobi.com/products/combobox/demos/Advanced/LinkedCombos/i...

It's a commercial Ajax component.

Andre.
On 11/2/06, Anthony Ezkinazi <eski@gmail.com> wrote:

> I need 3 combo boxes to populate with country/county/city information.

> Depending on what is chosen in the first combo box will display new
> options in the second... etc.

> Has anyone got a script example they could post a link to?

> Have looked on Google without any luck.
> Thanks

--
Andr Charland
President and Co-Founder, Nitobi
e. andre.charl@gmail.com
skype. ebadre
b. http://blogs.nitobi.com/andre
w. http://www.nitobi.com

-----------------------------------------------Reply-----------------------------------------------

> Depending on what is chosen in the first combo box will display new
> > options in the second... etc.

well, basically what you've got to do is to trigger call to refresh/
populate  the second  select box,  when the first one changes.  This can
easily be done uisng the onChange event.

ex ..

<select name='blah' onchange='functoincallforchange(); ' size='1'>
</select>

--
REGISTERED LINUX USER # 393260
there are 10 types of people in the world, those who understand binary and
those who don't

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc