search for: vote_yes

Displaying 1 result from an estimated 1 matches for "vote_yes".

2011 May 04
1
Why do I sometimes have to refresh the page manually after an AJAX form submission?
When I do remote form submits through jQuery .submit() why do I sometimes have to refresh the page manually to see the results? My jQuery handler is very simple: $("#vote_yes").click(function() { $("#approval").val(true) $(".edit_vote").submit() }); And the link that leverages this bit of code is as follows: <%= link_to("Vote Yes", @ballot, :class => "buttons", :id => "vote_yes") %>...