Hi there! I have an infowindow and it has an iframe calling a php file, this php file has a form (_POST). My problem is: when I submit the form via post method it opens a new browser window. My question is: how can I submit that form via post method without opening a new window? I need to refresh the iframe inside the infowindow without losing my infowindow
I know that I can use javascript to submit the information but I don't want to do that because some forms are in another websites thus I can not use javascript for each one. Is it possible to do that? (the iflame object is not indispensable) I already check this other posts but I didn't get and answer: http://groups.google.com/group/Google-Maps-API/browse_thread/thread/ebd46eeffccff42e/f1c315948ff5467 http://groups.google.com/group/Google-Maps-API/browse_thread/thread/36abca3df52a19/0307bec22d921f55 This is part of my code: GEvent.addListener(map, "click", function(overlay, latlng) { if (!overlay) { var lng = latlng.lng(); var lat = latlng.lat(); var obj = document.createElement('div'); obj.id = 'balloonDiv'; GDownloadUrl("login.php", function(data) { var iframe = document.createElement("iframe"); iframe.setAttribute("id", "iframeRPC"); iframe.innerHTML = data; obj.innerHTML = iframe.textContent; map.openInfoWindow(latlng,obj); }); } }); --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
