SyntaxFix
Write A Post
Hire A Developer
Questions
Why don't you pass the entire array and process it as needed inside the function?
var x = [ 'p0', 'p1', 'p2' ]; call_me(x); function call_me(params) { for (i=0; i<params.length; i++) { alert(params[i]) } }