method

submit_to_remote

rails latest stable - Class: ActionView::Helpers::JavaScriptHelper

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1.0.0) is shown here.

submit_to_remote(name, value, options = {})
public

Returns a button input tag that will submit form using XMLHttpRequest in the background instead of regular reloading POST arrangement. options argument is the same as in form_remote_tag