Hallo,
Habe folgende Formular input-Typen definiert:
<FORM name=Formular onsubmit="return Pruefe()" action="../cgi-bin/links_plus.pl" method=post>
<INPUT type="text" size=40 name="URL_NAME">
<INPUT type="text" size=40 name="URL">
<INPUT type="radio" NAME="RADIO" VALUE="wd">
Wenn ich diese der Pruefe() ausgebe, werden type="text"-Eingabefelder korrekt ausgegeben,
die radio buttons aber nicht! und 'links_plus.pl' wird ausgeführt obwohl 'return false;'!
Wieso?
<SCRIPT type=text/javascript>
<!--
function Pruefe()
{
alert(document.Formular.URL_NAME.value);
alert(document.Formular.URL.value);
alert(document.Formular.RADIO.value);
return false;
}
//-->
</SCRIPT>
Danke,
Gruß Sergej