I have a DIV with some characters. How can I remove the last character from the text with each click on the DIV itself?
DIV
Plain JavaScript:
This is some text