Difference between revisions of "Template:Wageningen UR/footer"

 
Line 37: Line 37:
 
var aChild = aChildren[i];
 
var aChild = aChildren[i];
 
var ahref = $(aChild).attr('href');
 
var ahref = $(aChild).attr('href');
aArray.push(ahref);
+
if (ahref != null){
 +
                                            aArray.push(ahref);
 +
                                        };
 
} // this for loop fills the aArray with attribute href values
 
} // this for loop fills the aArray with attribute href values
 
 

Latest revision as of 19:03, 18 October 2016