for loop - How to concatenate the string value to the integer value in Jquery? -
How to add integer values with string in jquery I am using Google Maps and working with map markers I am
for (var x = 0; x & lt; addresses.length; x ++) {infowindow1.open (map, x); } How can I add variables 'x' with infowindow to infowindow1, infowindow2 and so on
any signal?
Maybe this way:
for (var x = 0 ; x & lt; addresses.length; X ++) {window ["Infondo" + x]. Open (map, x); } This only works when infowindow + Any number is in a global area.
Comments
Post a Comment