I would like to create a function that is variable in the number of variables it processes.
Example
function myFunction(myVariableVar){
// Loop through the myVariableVar list and do the function
}
So when the function is used on different pages like this
3 variables: myFunction(var1,varb,varc);
or more variables: myFunction(var1,varb,varc,var4,vard,var7,var5,var9 );
bearing in mind that the vars used will be valid elementIDs or elementNames
I would like help to start the function ie, the "loop command" and i will add the function. If this is not too hard for you script gurus.
Thankyou