Rails: submitting a form without reloading the page
问题 My app (https://showthatview.herokuapp.com/) has two parts: A Google Earth pane, where a view is shown A form, where the user sets the address / height where he wants the camera to be set When the user submits the form, I want the RoR back end to store the parameters set by the user, and the JS front end to update the view. I got the two separate parts working. When the user submits the Rail forms, it reloads the page and "resets" the camera Ideally I want the form to submit the data to the