G
Guest
I have some forms in a Ruby on Rails app. If the user types some values into
a form, leaves the page and then returns by pressing the back button, IE
should repopulate the form to the last values automatically. It does so
correctly for all web forms that I have created, except for the ones inside a
Ruby on Rails application. I am trying to use this repopulate behavior to
maintain state information across page views in an AJAX application - a
relatively common practice.
I have a sample page here that works properly for both Firefox and IE6:
http://www1.zvents.com/test.rhtml
If you reload that page, or navigate away and return through the back
button, it retrieves a "stored" value because the browser correctly
repopulates the form.
However, if I move the exact same form inside Ruby on Rails, IE6 no longer
repopulates the form (though Firefox does):
http://www1.zvents.com/events/test
If you do a page source, you'll notice that the 2 pages are identical. So,
I'm a little stumped. Anyone know why the repopulate behavior is different
between these 2 examples?
Thanks in advance!
Tyler
a form, leaves the page and then returns by pressing the back button, IE
should repopulate the form to the last values automatically. It does so
correctly for all web forms that I have created, except for the ones inside a
Ruby on Rails application. I am trying to use this repopulate behavior to
maintain state information across page views in an AJAX application - a
relatively common practice.
I have a sample page here that works properly for both Firefox and IE6:
http://www1.zvents.com/test.rhtml
If you reload that page, or navigate away and return through the back
button, it retrieves a "stored" value because the browser correctly
repopulates the form.
However, if I move the exact same form inside Ruby on Rails, IE6 no longer
repopulates the form (though Firefox does):
http://www1.zvents.com/events/test
If you do a page source, you'll notice that the 2 pages are identical. So,
I'm a little stumped. Anyone know why the repopulate behavior is different
between these 2 examples?
Thanks in advance!
Tyler