...

View Full Version : needing a code editor!



rndilger
01-29-2005, 10:19 PM
I'm still new at Javascript and was wondering if someone could double check my coding on this function. I already know the array, parIDs, is filled and that the variable, id, has a value assigned to it. Also, toggleNode is a function. Thanks in advance for your help!

function CloseNodes(id){
var b=0;
for (b=0; b < 10; b++){
if(parIDs['b'] != id){
toggleNode;
}
}
};

liorean
01-29-2005, 10:36 PM
You're just naming the function, you never call it.

toggleNode; -> toggleNode();



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum