Hi all,

 Could someone send me URL for JavaScript help list .... like this on php3..
..or you could solve my problem ?


-----------------------
Here is part of script........and the problem....at the end
-----------------------------------------
function checkChoice(whichbox) {

with (whichbox.form) {
if (whichbox.checked == false)
hiddentotal.value = eval(hiddentotal.value) - eval(whichbox.value);

else
hiddentotal.value = eval(hiddentotal.value) + eval(whichbox.value);
hiddentotal2.value = eval(hiddentotal.value)*<? print("$mnoznik");?>;
return(formatCurrency(hiddentotal.value));

   }

}


The first checkbox is "Special"...i press it...
<input name=special type=checkbox value=4200 onClick="this.form.total.value=
checkChoice(this); ">

the value is send to the total counter..... next it the form are those eleme
nts :

<input name=114 type=checkbox value=4200 onClick="this.form.total.value=chec
kChoice(this); ">
<input name=222 type=checkbox value=22 onClick="this.form.total.value=checkC
hoice(this); ">
<input name=333 type=checkbox value=11 onClick="this.form.total.value=checkC
hoice(this); ">

How to make a restriction that if you selected Special checkbox you cannot p
ress the 114 and 333 ..some alert box...i cannot make this...

Very glad if someone could help me


TeqilaMan



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to