How to using a javascript command to select and deselect a div tag content?
As I know, we can use a select() funtion to select text field value:
document.getElementById(‘username’).select();
But the above example does not work for a div or span tag.
For the div or span tag, it is pretty simply, just few lines command will do.
read more »
















