Specifics: I'm using geolocation with HTML5/javascript and the outcome from the browser gives me a stored var, latitude. I can output the value to the screen via:
%= content_tag(:span, "", :id => "latitude") %>
Now, I'm trying to submit this value and have it store in my db. I've tried using hidden_field to no avail. My next thought is using remote_funtion:
<% remote_function(:update => "latlong", :url => {:action => 'new'}, :with => "latitude" ) %>
Thoughts? Suggestions? Gracias.

New Topic/Question
Reply




MultiQuote


|