I've tried the following, which works fine outside a infowindow. But when I try to apply the autocomplete to a textfield inside an infowindow nothing happens.
//Autosuggest field using FCBKcomplete $(document).ready(function(){ $("#sort").fcbkcomplete({ json_url: "get_sort_json.php?&fruit="+ document.getElementById('fruit').value+"", addontab: false, maxitems: 20, input_min_size: 1, height: 10, cache: false, newel: false, select_all_text: "select" }); }); //Create form in infowindow to add information to Marker var html="<form><table><tr><td>Fruit </td><td><select id='fruit'>"+ "<option selected value=''>select fruit</option>"+ "<option value='ap'>Apple</option>"+ "<option value='pe'>Pear</option>"+ "<option value='ch'>Cherry</option>"+ "</select></td></tr>"+ "<tr><td>Sort </td><td><input type='text'id='sort'/></td></tr>"+ "<input type='button' value='Save' onclick='saveData()'/></form>"; infowindow = new google.maps.InfoWindow({content: frmhtml}); //Add listener to map, to insert new Marker google.maps.event.addListener(map, "click", function(event) { marker = new google.maps.Marker({ position: event.latLng, map: map, draggable: true }); map.setCenter(event.latLng); map.setZoom(18) ; google.maps.event.addListener(marker, "click", function() { infowindow.open(map, marker); }); }); -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/uQ9sprOx68IJ. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.