I have a difficult situation with html and javascript. My html page allows user to select text and highlight it with colors. Now I want to save the state into database to sh
my idea is to add at the start and end of selected text after that when you save the document whole html is saved into the database so when he retrieves the record back highlighted text will remain.
this is a paragraph creted to demonstrate highlighting selected text
it will be comfortable in jquery to add elements