[Webinar] Streamline your web hosting managementRegister Today

  • 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.
1 Solution
It seems, Your requirement exactly maps AJAX technology..

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


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