PDA

View Full Version : functions. help?!


eggnogg
05-26-2003, 06:40 PM
setToZero(Combo1);
setToZero(Combo2);

works fine, but
setToZero(Combo1,Combo2);
doesnt work...
why??

regards
eggnogg

spriggan
05-26-2003, 07:27 PM
Umm is that code you listed where you call the function or define it? Check where you're defineing the function and see if you've set it up for 2 varables:

function setToZero (a, b) {
your code here
}