"<div id="diva">this is div a</div>"
"<div id="divb"> this is div b</div>"
now how can I change the text of div
dynamically by button click. here also mention that all text come from a database. when I click the button then it detects the div
id and replace the text with desire text.
All code will be in PHP.