Kod
<script type="text/javascript">
function checkBtn(checkbox)
{
var area = document.getElementById("btn1");
if(checkbox.checked==true)
{
area.disabled=false;
} else
{
area.disabled=true;
}
}
</script>
function checkBtn(checkbox)
{
var area = document.getElementById("btn1");
if(checkbox.checked==true)
{
area.disabled=false;
} else
{
area.disabled=true;
}
}
</script>
<form action="?module=user&action=register" method="post"> Login: <input type="text" name="user_name" /><br />Email: <input type="text" name="email" /><br />Hasło: <input type="password" name="password" /><br />Powtórz hasło: <input type="password" name="rpassword" /><p>Zanim się zarejestrujesz, zapoznaj się z regulaminem: <a href="#">www.jakisregulamin.pl</a><br />Zapoznałem się z regulaminem: <input type="checkbox" onClick="checkBtn(this)"><br /><input type="submit" name="btn1" value="Zarejestruj" DISABLED /></form>
Ale ten kod dziala poprawnie tylko na IE

