Remove the content from a DIV

Hi,
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:

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

Do you see any errors in the JavaScript console of your web browser?

Hi Christian,
no I found no error into the browser console but I found the problem:

When the WAR file has been deployed, the .spec file containing my last changes were not up to date due an error into Azure so the method didn’t exist.
I found the error into the servoy-admin page.

Thank you for your time

Marco