title: Set input text inside iframe and submit
body: <p>I'm trying to glue together two web services by passing a value from one to the other, unfortunately there's no API or clear way of hacking up the search query so I need to set the value of a input inside an iframe.</p>
  
  <p>Here's the markup for the horrible iframe.</p>
  
  <pre><code>&lt;form id="searchForm" method="post" action="/search/initialSearch"&gt;         
    &lt;fieldset class="searchFields"&gt;
      &lt;input type="text" name="searchTerm" value=""/&gt;
      &lt;input type="submit" value="Find stops"/&gt;
    &lt;/fieldset&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>I need to set the searchTerm text and then submit the form. </p>
  
  <p><strong>Note: This is going over mobile, so I would prefer a really lightweight solution</strong></p>