method
post_javascript_function
v1.0.0 -
Show latest stable
- Class:
ActionView::Helpers::UrlHelper
post_javascript_function()private
No documentation available.
# File actionpack/lib/action_view/helpers/url_helper.rb, line 271
def post_javascript_function
"f = document.createElement('form'); document.body.appendChild(f); f.method = 'POST'; f.action = this.href; f.submit();"
end