View Full Version : needing a code editor!

01-29-2005, 11: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){

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

toggleNode; -> toggleNode();