Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to populate second combo box on the basis of first combo

 
ramesh kothakonda
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please help me its very urgent I am using struts frame work and jsp pages with mysql database. please help me getting populate second combo box on the basis of first combo box dynamically.

Thanks in advance
 
Tim Storms
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you consider to use Ajax for your problem? That would be nice because there won't be a page reload. Just google it, there are many examples available which will solve your problem.
 
ramesh kothakonda
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i tried on google(Selecting second combobox on the basis of first using ajax in java) but i failed to get the required information if you have any information can you please provide me. its very urgent for me.

My problem is in Struts Frame work i want get second combobox information on the basis of first combobox from MySql Database.

please help me.
 
Tim Storms
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check this link: http://www.dhtmlgoodies.com/index.html?whichScript=ajax_chained_select or this one http://www.it-eye.nl/weblog/2005/12/13/ajax-in-struts-implementing-dependend-select-boxes/ which has a Java back-end.

Happing coding!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic