jeg69-jdTGo7ylDn2Vc3sceRu5cw@public.gmane.org
2007-Dec-17 22:57 UTC
IE does not update with new get request
I am going to do my best to summarize the user and system actions. -The user access the page through a form which passes a project and a version -A request is made using the project and version to get table data from a DB -The returned XML is parsed by JS into an array and displayed to the user as an HTML table -The user selects a row to delete from the table -A request is made using the user id and array id to delete -Upon success of the deletion, the array is cleared(at least it appears to be) and a request is made using the current project and version to get the new data What I would like to have happen is the table be cleared and then redisplayed with the new data (entry is removed), however, the table is redisplayed with the values from the first get request. The code works properly in Firefox but not in IE. If you need more information or more clarification let me know and I will try to provide as much as I can. Thank you --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
jeg69-jdTGo7ylDn2Vc3sceRu5cw@public.gmane.org
2007-Dec-18 15:23 UTC
Re: IE does not update with new get request
I found that if i added + "&" + Math.random() to the end of the get string it worked in IE. I found this solution here: http://en.wikipedia.org/wiki/XMLHttpRequest On Dec 17, 4:57 pm, "je...-jdTGo7ylDn2Vc3sceRu5cw@public.gmane.org" <je...-jdTGo7ylDn2Vc3sceRu5cw@public.gmane.org> wrote:> I am going to do my best to summarize the user and system actions. > > -The user access the page through a form which passes a project and a > version > -A request is made using the project and version to get table data > from a DB > -The returned XML is parsed by JS into an array and displayed to the > user as an HTML table > -The user selects a row to delete from the table > -A request is made using the user id and array id to delete > -Upon success of the deletion, the array is cleared(at least it > appears to be) and a request is made using the current project and > version to get the new data > > What I would like to have happen is the table be cleared and then > redisplayed with the new data (entry is removed), however, the table > is redisplayed with the values from the first get request. The code > works properly in Firefox but not in IE. > > If you need more information or more clarification let me know and I > will try to provide as much as I can. > > Thank you--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---