I am passing 3 HashMaps that contain data pertaining to 13 different time periods, to a jsp page.
The data from these maps is used to populate and alter a summary data div (that consists of the summed total of the different datasets, for the selected ranges, so it could 1 of 13, 2 of 13, all 13 and so on. However the 3 datasets are large. In total there are 910 = (13*7)+(13*7)+(13*8*7) individual values.
Following me so far ?
The selected data is used by javascript/jquery when a check bx is selected - so there are 13 checkbox and when checked the data is included in total, when unchecked the data is subtracted. The selected subset of data is used to plot a graph with flot. I am not using an HTML form.
Currently I am using hidden inputs behind a visible checkbox - this has slowed everything right down, because the DOM is so large ? What are better options that will increase the responsiveness (specifically a jquery dialog that contains all the data).
My ideas so far :
Passing the data in as a json string ?
Using input tag attributes rather than 910 individual inputs ?
Thanks! (any solution must be compatible with ie6 and ie8)