I need to make a div layer so that when you click on it you will have your cursor there blinking and you can insert/delete text just like >
>
DIV element has (other elements as well) contentEditable property that you can set in Javascript to true.
contentEditable
getElementById('YourDiv').contentEditable = true;