I can think of one more way to do this using div as Jeroen suggested.
Ex. When the first time page is loaded , get all the texts from database corresponding to each text item in list. This will typically be in each different div block.
Now using javascipt make visible any default text and invisible all other text. Now when item is selected from the list, make corresponding
text visible and other invisible. This way i think we should be able to
refresh data without sending request to server. I have not tested it so
not so sure.
But this is advisable if we have few items in the list and has small corresponding data. Otherwise it would increase page load time.
Originally posted by Jeroen Wenting: