Como criar função dá alert e depois direciona pra um .html

1 resposta
A

é tipo assim?

function testarOlaMundo(){ alert("ola mundo!"); if (alert) return ('teste.html'); }

1 Resposta

A

descubrí

function testarOlaMundo() { alert("ola mundo!"); return window.location = 'teste.html'; }

Criado 5 de agosto de 2010
Ultima resposta 5 de ago. de 2010
Respostas 1
Participantes 1