File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
Field Refresh Using AJAX in Struts2
Abdul Mujeeb Md
Joined: Aug 25, 2008
Sep 24, 2009 06:50:19
How do we populate a text field with the value from database, when a dropdown value is selected.
eg: OnChange of a dropdown an AJAX event is to be triggered and populate the adjacent textfield with the value from the database.
Joined: Jul 15, 2009
Sep 24, 2009 07:38:03
You chave just given yourself the answer.
You cheate an onchange event that will send an ajax request and then populate some DIV (or an input box in this case) with the response.
Do you have any code to look at or a specific question?
I love this place!
subject: Field Refresh Using AJAX in Struts2
how to populate drop down list using servlet and jsp
Dependent Drop- Down
JSF drop down.
how to populate dropdown box dynamically
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014