<script language=VBScript>
<!--FORMULÁRIO DEFESA GRADUAÇÃO
Sub vaigrad_OnClick()
if (Document.form_grad.area.Value= "") then
msgbox "Escolha a área relativa ao Projeto"
Document.form_grad.area.Focus
exit sub
end if
if (Document.form_grad.presidente.Value= "") then
msgbox "Preenchimento do Campo Presidente da Banca Obrigatório"
Document.form_grad.presidente.Focus
exit sub
end if
if (Document.form_grad.orientador.Value= "") then
msgbox "Preenchimento do Campo Orientador Obrigatório"
Document.form_grad.orientador.Focus
exit sub
end if
if (Document.form_grad.tema.Value= "") then
msgbox "Preenchimento do Campo Tema da Dissertação Obrigatório"
Document.form_grad.tema.Focus
exit sub
end if
if (Document.form_grad.aluno1.Value= "") then
msgbox "Preenchimento do Campo Primeiro Aluno Obrigatório"
Document.form_grad.aluno1.Focus
exit sub
end if
Document.form_grad.submit
End Sub
-->FINAL DA ROTINA DEFESA GRADUAÇÃO
</script>
Uso esse script ai acima e o form:
<form name="form_grad" method="post" action="conf_projeto.php">
quando clico no botao enviar:
<input name="vaigrad" type="button" value="Vizualizar Dados">
No IE, vai blz e no FF e não acontece nada.
Alguem poderia me ajudar ???