Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

complicated combo boxes with Ajax

 
hesham katon
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • 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
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65111
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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.
 
Andre Charland
author
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic