Focus Textfield in iframe (Tricky!)
<p>I'd like to set focus to a textfield on my website. There are 2 problems:</p>

<ol>
<li>The textfield is located in an external page (on which i have no control over). It's embedded in my page using iframe.</li>
<li>The textfield has a own random id generated every time the page is loaded.</li>
</ol>

<p>This is the HTML code of the textfield which i want to focus()</p>

<hr>

<pre><code>&lt;div class="UIComposer_InputShadow"&gt;&lt;textarea placeholder="Discuss this event" onfocus="window.UIComposer &amp;amp;&amp;amp; UIComposer.focusInstance(&amp;quot;c4d1cd73d90f2f8884818513&amp;quot;);" name="status" id="c4d1cd73d90f2f8884818513_input" title="Discuss this event" class="UIComposer_TextArea     DOMControl_placeholder"&gt;Discuss this event&lt;/textarea&gt;&lt;/div&gt;
</code></pre>

<hr>

<p>Note that "c4d1cd73d90f2f8884818513_input" and c4d1cd73d90f2f8884818513 are randomly generated values.</p>

<p>It would be so great if anyone could help me out with this,</p>

<p>Thanks so much! ;)</p>

<p>Greetz,</p>

<p>Camillo</p>
