Hi, I'm trying to add a button to a googlemap infowindow so that when the user clicks on the button ajax is used to update a table of points outside the Map.
I can open the infoWindow and add 2 button Save/Delete. Delete simply removes the marker and closes the infoWindow. Outside of the map I've successfully set up the Rails code to populate an ajax table without refreshing the map.
What I'm stuck on is calling a rails function from a form button in the infoWindow - any suggestions appreciated or examples of calling a rails function from javascript.
Thanks.