using array in html image tag

alinkamalishka

New Member
I am trying to add an image to the google marker and following is my code\[code\]var marker = _newGoogleMapsMarker({ _map: map, _lat: tmpLat, _lng: tmpLng, _head: '|' + new google.maps.LatLng(tmpLat, tmpLng), _data: '<div id="bg">\<h2 class="title">' + tmpName + '</h2>\<h3 class="address">' + tmpAdr + '</h3>\<h3 class="pc">' + tmpPc + '</h3>\<h3 class="telephone">' + tmpTel + '</h3>\<img src="http://stackoverflow.com/questions/14051985/images/abcd.gif" alt="Description:" width="142" height="82"></img>\</div>'});\[/code\]How can i replace abcd.fig with a varialbe name called tmpImage ?
 
Back
Top