2
I have the following html code.
<form action="http://www.meulinkqueseraredirecionado.com/namer/">
<input type="text" />
<input type="submit" value="Acessar" />
</form>
I want that as soon as the user click on the "Access" button, after inserting a number in the input "text", he access the link "http://www.meulinkqueseraredirecionado.com/namer/numeroInserido"
How it is done in HTML or HTML5?
Now it’s not redirecting
– Tiago Ferezin
It was only necessary to add in javascript after the
act.action += param.value;
, the code to redirectwindow.open(act.action, '_blank');
– Tiago Ferezin
@Tiagoferezin after calling the
windows.open
, you return theaction
for the initial amount. Cool, liked! Thank you very much for the edition.– Lucas Fontes Gaspareto