I created a button on a form, but when clicking it refresh the index page where it is and do not want it, I do not want it to refresh the page, just want to open the popup with the form, how do I correct it? >
a href="#" onclick="window.open('form.html', 'Pagina', 'STATUS=NO, TOOLBAR=NO, LOCATION=YES, DIRECTORIES=NO, RESISABLE=YES, SCROLLBARS=YES, TOP=90%, LEFT=280%, WIDTH=485, HEIGHT=545');"><img src='imagens/button-contato.png'></a>
Data from form.html
<!DOCTYPE html>
<html>
<head lang="PT-BR">
<meta charset="UTF-8">
<title>Formulário de Contato</title>
</head>
<body>
<!-- Do not change the code! -->
<a id="foxyform_embed_link_181315" href="http://br.foxyform.com/">foxyform</a>
<script type="text/javascript">
(function(d, t){
var g = d.createElement(t),
s = d.getElementsByTagName(t)[0];
g.src = "http://br.foxyform.com/js.php?id=181315&sec_hash=e727220c0f2&width=445px&heigth=525px";
s.parentNode.insertBefore(g, s);
}(document, "script"));
</script>
<!-- Do not change the code! -->
</body>
</html>