Skip to content

Instantly share code, notes, and snippets.

@tekin
Created June 30, 2009 18:49
Show Gist options
  • Save tekin/138332 to your computer and use it in GitHub Desktop.
Save tekin/138332 to your computer and use it in GitHub Desktop.
<% form_tag complete_order_path(@order), :id => 'reload_frame', :target => '_top', :method => 'get' do %>
<noscript>
<p>Verification complete, click the button below to continue.</p>
<%= submit_tag 'Continue to order confirmation %>
</noscript>
<% end %>
<% javascript_tag do %>
window.onload=function(){
document.getElementById('reload_frame').submit();
}
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment