title: How can I maintain the checkbox state on a page that is refreshed by Ajax?
body: <p>I have a html table in my application that shows the state of various jobs running in the system. Each job has a state associated with it e.g a swirly gif for running jobs. New jobs have a checkbox next to them that allows the user to select and kick off the associated job. </p>
  
  <p>The table is a struts2 auto refreshing div (sx:div), it refreshes every few seconds to reflect what is currently happening with the jobs.</p>
  
  <p>The problem is that when the div refreshes I lose that state of the checkboxes.</p>
  
  <p>Is there an elegant way of maintaining their state? I have the option of calling some javascript upon completion of the ajax refresh using the dojo topic system built into the tag but i'm not sure what is the best way to approach it.</p>