pass list as argument in html code example
Example 1: pass a list to a function in python
def someFunc(myList = [], *args):
for x in myList:
print x
Example 2: make a parameter array in js
var x = [ 'p0', 'p1', 'p2' ];
call_me(x);
function call_me(params) {
for (i=0; i<params.length; i++) {
alert(params[i])
}
}