Ruby on Rails
Wednesday, October 21, 2015
On Wednesday, October 21, 2015 at 7:11:05 AM UTC+1, Dave Ekhaus wrote:
Hi All.
Within the 'success' callback of a $.post call - I'm trying to reload the current page (here's a pastie -> http://pastie.org/10496733)
My 'post' call works and now I'd like to refresh the page. Please help. (I realize that refreshing the page is not ideal - but its a very 'light' page :-) ).
Have you checked the value of response.status ? I thought those were http status codes rather than strings
Fred
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/82011463-6336-4bb9-ba37-9f818b0f1b1a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment