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