Posts by Caio Santos • 11 points
1 post
-
1
votes1
answer39
viewsQ: How do I copy/select a var in jquery?
I’m trying to copy the contents of var ip, but I can’t. This is my code: $(function(){ $("#ip-server").click(function(){ var ip = 'ip.exemplo.com'; /* <-- Esse é o conteudo que quero copiar */…