I am really tinking you shold use some little bit of ajax to get the thing you need.
You coult just make a javascript function and asign it to the chackbox (with an onclick). Then send the value to a page witch will get the content from the database. And in the same tone you coult add another function to the onclick to close the text selection newly added. (or just make a thogle function for gething and showing the data/hidding(or removing)).
The implementation is not that hard but it needs a little work. (specialy if you want to make it without the use of any javascript library).
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum