title: get the generated clientid for a form field
body: <p>Is there a way to get the client id generated for a field generated with a html helper? </p>
  
  <p>i have several components that sometimes are inside another forms, and i wan't to attach javascript events to them. </p>
  
  <p>so, for sample, i would like to have: </p>
  
  <pre><code>@Html.TextBoxFor(model =&gt; model.client.email)
  
  &lt;script&gt; 
  $('#@getmyusercontrolid(model=&gt;model.client.email)').val("put your mail here");
  &lt;/script&gt;
  </code></pre>