method

submit_to_remote

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.