Name
Новичок
Как засабмитить форму на onChange checkbox.
Как засабмитить форму на onChange checkbox.
Делаю так, не проходит. Не очень волоку.
function submitActive(){
document.form.action="<?=@$PHP_SELF?>";
document.form.target="_self";
}
<input type="checkbox" name="id"
onClick="return window.confirm()" onChange="submitActive()">
Как засабмитить форму на onChange checkbox.
Делаю так, не проходит. Не очень волоку.
function submitActive(){
document.form.action="<?=@$PHP_SELF?>";
document.form.target="_self";
}
<input type="checkbox" name="id"
onClick="return window.confirm()" onChange="submitActive()">