Menu
I’ve seen examples that “select all” text in a textarea but I want to select all in a div (or spam) (which would includes HTML code such as images, etc).
Basically if I select the div manually (drag mouse over and right click and copy). Is there a way I can automatically select this div instead of dragging the mouse?
I’ve tried this but doesnt seem to work
[CODE]document.getElementById(‘divID’).select()