• 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:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Bear Bibeault
  • paul wheaton
Saloon Keepers:
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Mikalai Zaikin
  • Piet Souris
Bartenders:

Populating the Combo Box using AJAX

 
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Ranchers,
I'm doing my project in JSP and MySQL. The project is a lead-time calculation part. In the page I designed, I've 5 combo boxes.

Combo 1 : List all the countries
Combo 2 : List the Ports in the country which i selected after reloading
Combo 3 : List the Destination Place from the Lead time after reloading
Combo 4 : List the details type of transportaion (AIR, SEA or Road)

Textbox : will display the lead time of the shipments coming in mode of transport where country = xxx and port = xxx and destination = xxx

When ever i change the combo box values, I've written a script in onChange() to submit to the same page and it is taking long time for the user, since it is uploaded in the remote server.

I would like to use this in AJAX. I want some sample code for doing this.

Please help me ranchers..

Thanks and Regards

Aravind Prasad
 
Sheriff
Posts: 67732
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
There are examples of doing this all over the web. What part has you stumped?
 
That is a really big piece of pie for such a tiny ad:
Low Tech Laboratory
https://www.kickstarter.com/projects/paulwheaton/low-tech-0
reply
    Bookmark Topic Watch Topic
  • New Topic