I am trying to pass parameters to a function. I have:
function test(var1, var2, var3, var4, callBack, Scroll, punc, var5){
codes....
}
When I call the function:
test('a','b','c','d','e');
I want 'e' to be var 5 instead of callback parameter. Is there anyway to do it?
test()with those arguments, what do you want the values stored incallBack,Scroll, andpuncto be? They can't come from nowhere.testso that you can call it in the way you describe? Or are you looking to modify the call totestso that it matches what the function expects?