railsの勉強 簡単なAJAXのサンプル

「かんたんRuby on RailsでWebアプリケーション開発」の第3章のサンプルから。

console.rhtml(抜粋)

  <body>
    <div id="param">
      <%= text_field_tag :left %>
      <%= select_tag :operator,
        '<option>+</option><option>-</option><option>*</option><option>/</option>' %>
      <%= text_field_tag :right %>
      
      <%= observe_field :right, :update => :result,
        :url => 'calc', :frequency => 0.2, :submit => :param %>
      <%= link_to_remote '=', :update => :result_list, :position => :top,
        :url => 'update', :submit => :param %>
      <span id="result"></span>
    </div>
    <div id="result_list">
    </div>
  </body>

<span id="result"></span>の部分が_result.rhtmlで、<div id="result_list">の部分が
_update=result.rhtmlで置き換えられるようだ。
link_to_remoteのマニュアルを見ると以下の記述がある。

Returns a link to a remote action defined by options[:url] (using the url_for format) that’s called in the background using XMLHttpRequest. The result of that request can then be inserted into a DOM object whose id can be specified with options[:update]. Usually, the result would be a partial prepared by the controller with either render_partial or render_partial_collection.

XMLHttpRequestを使ってバックグラウンドで呼ばれたoptions[:url](url_for形式)によって定義されたリモートアクションへのリンクを返す。そのリクエストの結果は、option[:update]で指定されたidを持つDOMオブジェクトに挿入される。通常、その結果は、render_partialまたはrender_partial_collectionのいずれかでコントローラによって用意された部分である。

なんとなくわかったが、option[:submit]の部分が不明。
さらにlink_to_remoteのマニュアルには次の記述がある。

submit
Specifies the DOM element ID that’s used as the parent of the form elements. By default this is the current form, but it could just as well be the ID of a table row or any other DOM element.

なんかよくわからん。