javascript problems

From: Date: Sun, 11 Nov 2001 20:49:31 +0000
Subject: javascript problems
Groups: php.general 
Request: Send a blank email to php-general+get-74191@lists.php.net to get a copy of this message
HelpHi 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 elements : <input name=114 type=checkbox value=4200 onClick="this.form.total.value=checkChoice(this); "> <input name=222 type=checkbox value=22 onClick="this.form.total.value=checkChoice(this); "> <input name=333 type=checkbox value=11 onClick="this.form.total.value=checkChoice(this); "> How to make a restriction that if you selected Special checkbox you cannot press the 114 and 333 ..some alert box...i cannot make this... Very glad if someone could help me TeqilaMan

« previous php.general (#74191) next »