My javascript has more than 12 functions and all function call the following function.
address_bar(gender, age_min, age_max, religion, country, address, zip-code, telephone);
My question is it is possible to call this function as follows.
var string = 'gender, age_min, age_max, religion, country, address, zip-code, telephone';
Call each function as
address_bar(string); //not working
I get undefined variable errors for parameters.
evalbut understand the risks involved before using it...evalis evil javascriptweblog.wordpress.com/2010/04/19/how-evil-is-eval