Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

complicated combo boxes with Ajax

 
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Alexi White ,
Dear Andre Charland ,

I am new to Ajax

I am asked to develop a web page that contains multiple combo boxes , that are connected with a database (mysql)

first combo box get the data from a table

then the secnod combo box load data according to the the choice of first combo box

then the third combo box load data according to the choice of second combo box

and so on

i have read some papers about Ajax , and i succeded to make just 2 related combo box , but when i try the third one i cant make it work

it started to be complicated

i am wondering , is there any software that helps to build tasks like that or everything must be hard coded

Also does this book "Enterprise AJAX: Strategies for Building High Performance Web Applications" helps to build something like that


Many thanks for you
 
Sheriff
Posts: 67620
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by hesham katon:
but when i try the third one i cant make it work



What problems are you runing into. Just telling us that it doesn't work doesn't give us any information on how to help you. The same principles you applied to making the 2nd select element (it's not a "combo box") work should alos work when applied to the 3rd.

Given no other info, I'd suspect that you are running into a problem using global variables.

Ajax requires a fairly high level of JavaScript skill -- most boooks on Ajax (at least introductory books) will contain a hefty dose of advanced JavaScript tutoring.
 
author
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Hesham,

It's hard to say without more info.

[Warning: The sentence below may seem like a product plug]

We do have a sample like this with one of our *commercial* Ajax components: http://www.nitobi.com/products/completeui/demos/explorer/ then go to ComboBox/Master/Detail for a demo.

Maybe this helps, if not please provide some more info.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic