I'm trying to remove a div content.
I created my own plugin in which I created a method called "emptyDiv".
This method has just one line of code within:
- Code: Select all
document.getElementById(myDivName).innerHTML = "";
It works when I'm into the developer but it doesn't when I deploy it on Tomcat.
thanks in advance