Im using
document.write("Your IP is :", userip)
To output IP that I targets for a specific use - I need to hide this string in the dom. I tried this and It shows in a span in the dom but not fully working:
document.write("<span>\Your IP is :\, userip</span>");
If I tried to add a class to it it didn't work at all.
How Do I hide it, but keeping it in the DOM?