Hi all,
I’m developing an app that lists tasks sequentially. I’m attempting to
make the tasks very easy to update using ajax techniques –
in_place_edit for the text fields and an observe_form to watch the
select boxes for change. When one of the select boxes changes it will
fire off an ajax update method on my controller which in turn updates
the database.
The problem I’m running in to is that if someone else changes one of the
select boxes to a different value, my screen will retain the old value
even if i do a refresh of the page. The only way it will update is if i
navigate away from the current page and then navigate back to it. I’m
assuming that firefox does some kind of caching of form options because
if I look at the actual source after only doing a refresh of the page
(not navigating away), the actual code is correct but the browser is not
display the option that is select=“selected”. This also causes problems
when I’m updating the select boxes that would cause the order of the
list to change. If I refresh the page the select boxes are not correct.
Internet Explorer (for once!) is actually updating ok. Does anyone have
any suggestions for dealing with this behavior in firefox?