[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 378
  • Last Modified:

on butonclick refresh only a div in the site

Hi all!

 I would like to know how one can do in Struts the following:
 - I have a main form on the website which from many, contains a checkbox which is previously activated/deactivated by another script. When is activated and the user clicks on it I would like to have a div inside the site refreshed. The problem is that div its populated through a request from a button click.
Therefore I would like to know how I can repopulate ONLY this div with a new request withouth altering the previous values of the fields from the form.
0
dlcnet
Asked:
dlcnet
1 Solution
 
cmalakarCommented:
It seems, Your requirement exactly maps AJAX technology..

With AJAX, you can change/alter the data in one field, without touching the others..

http://wiki.apache.org/struts/AjaxStruts
http://www.javaworld.com/javaworld/jw-08-2007/jw-08-ajaxtables.html?fsrc=rss-index
http://www.w3schools.com/ajax/default.asp
0

Featured Post

2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

Tackle projects and never again get stuck behind a technical roadblock.
Join Now