i''m hiding the search button and replacing it with a loafing graphic that works fine but if i then hit the browsers back button i get the laoding graphic not the search button onfirefox, on ie i get the search button back - my code is below, any one know how to fix this <form method="post" action="/search/" id="search-form" onsubmit="Element.show(''search-loading''); Element.hide(''search- button'');"> <div id="search" style="text-align:center;"> <input id="searchInput" type="text" size="15" name="search" maxlength="60" title="Enter search words here" /> <label accesskey="3" for="search"> <div id="search-button"><input class="submit" type="submit" value="Search" title="Search Site" /></div> </label> <div id="search-loading" style="display: none;"><img src="/images/ wait.gif" alt="wait"/></div> </div> </form> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---