1
I’ve done enough research... what I’d like to do is something like:
var janela = window.open(
"https://www.google.com/",
"_blank"
);
var pesquisa = janela.document.getElementById("lst-ib");
pesquisa.value = "string que quero no input";
but it doesn’t work, I put:
var janela = window.open(
"https://www.google.com/",
"_blank"
);
var pesquisa = janela.document.getElementById("lst-ib");
console.log(pesquisa);
printed null
WHY?
somebody help me?
vlw worked :)
– JeffersonCarlosBD