title: Add content of text-field to link_to as parameter
body: <p>How you can see i have an link_to with an empty parameter <b> :street</b> :</p>
  
  <pre><code>&lt;%= link_to "#{g.name}", icd_test_path(g, :street =&gt; "...."), remote: true %&gt;
  </code></pre>
  
  <p>I would like to have the content of this a-tag with the id => "form" as param :street</p>
  
  <pre><code>&lt;a id="form"&gt;Boulevard&lt;/a&gt;
  </code></pre>
  
  <p>How can i make this? Is there any solution with jquery? </p>
  
  <p>I suspect my link_to should look something like this:</p>
  
  <pre><code>:street =&gt; $(#form).html()
  </code></pre>