Searching but, idk what really main keyword i must search..
Other searching keyword
Javascript add function call with parameters to button
How to execute a JavaScript function when I have its name as a string
The problem is :
$("#poi_list").change(function () {
var poi_id = $("#poi_list").val();
alert(poi_id);
poiPath+poi_id+.setMap(map);
});
My question is, how i call a function like poiPath5.setMap(map);
The number i get from poi_id is dynamic, the number is more than thousand(this other problem, but now i just wanna solve this problem)
Any thought?