I have a ruby on rails web application that uses a javascript function to update a component on a page.
All I want to do is have the web site 'remember' the value for when the user reloads the page and/or returns after re-loading.
The javascript is very simple. All I want to do is something like this...
$('#my_field').change(function() {
$('#result').html = 'a new value'
});
only have the 'result' component retain 'a new value' after the user reloads the page.
Any suggestions?
Thanks!