| Author |
complicated combo boxes with Ajax
|
hesham katon
Ranch Hand
Joined: Dec 18, 2002
Posts: 82
|
|
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
|
Hesham Katon<br />SCJP 1.2<br />SCWCD 1.4<br />Better to light a candle than to curse the darkness
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56529
|
|
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.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Andre Charland
author
Greenhorn
Joined: Jul 20, 2007
Posts: 16
|
|
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.
|
Andre Charland<br />Co-Founder, CE0 <br /><a href="http://www.Nitobi.com" target="_blank" rel="nofollow">http://www.Nitobi.com</a>
|
 |
 |
|
|
subject: complicated combo boxes with Ajax
|
|
|