Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Without refreshing the page  RSS feed

 
Babar Qadri
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to fill the combo without refreshing the page.

detail:

filling of combo B depends upon the value selected in combo A. On change of combo A, I just want to request the server and get the data in a form of java object like, arraylist, vector, etc to fill the combo B.

Anybody has any idea.
Do I need XML-RPC, xmlhttprequest, or anyother thing?

Thanks.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is one of our most common questions. Search this and the servlets forum and you'll find plenty of discussion.

If you really mean "without refreshing the page" you'll need to do some fancy footwork with hidden iframes or (if you're only supporting new browsers) the Javascript XMLHttpRequest object.

http://developer.apple.com/internet/webcontent/xmlhttpreq.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!