title: Set value in frames JQuery
body: <p>How to set value if input is in frame's.</p>
  
  <pre><code>&lt;iframe id="main_frame_first" width="100%" height="100%" frameborder="0" name="main_frame"&gt;
  &lt;iframe id="main_frame_second" name="main" width="100%" height="100%" data-par="" class=" "&gt;
  &lt;input name="_filter[head]" type="text" size="20" maxlength="60" style="width:100%"&gt;
  &lt;/iframe&gt;
  &lt;/iframe&gt;
  </code></pre>
  
  <p>it should be somethink like </p>
  
  <p>$('#main_frame_first').contents().find('#main_frame_second').contents().find('#????').val('myValue');</p>