Hallo
Mittels Effect.toggle (scriptaculous) öffne und schliesse ich ein Login-Fenster (div id). Dort drin habe ich ein formular mit feldern und checkboxen. Die Felder funktionieren einwandfrei doch die Checkboxen kann ich nicht anwählen. Hat jemand eine Ahnung was da falsch ist?
<div id="loginbox" style="display:none;"><form name="loginform" method="post" action="<? print $_SERVER['PHP_SELF']; ?>?AC=LG"><input type="text" name="user" id="user" value="" class="ff250" onfocus="this.value='';"><br /><input type="text" name="pass" id="pass" value="" class="ff250" onfocus="this.value='';this.type='password';"><br /><input type="radio" name="dl" value="1"><input type="checkbox" name="pwcookie" id="pwcookie" value="1">Remember Me<div class="loginsubmit"><a href="javascript:document.loginform.submit();">Login</a></div></form></div><script type="text/javascript">
document.loginform.user.value = "Username";
document.loginform.pass.value = "Password";
</script>
Danke für eure Hilfe.
Gruss
Thomas