focus on user control
<p>I want to focus on a user control but it is giving me errors</p>

<pre><code>function getFocus() {
    document.getElementById('&lt;%myUserControl.ClientID%&gt;').focus()
}
&lt;a href....  onclick="getFocus()&gt;Click&lt;/a&gt;
</code></pre>

<p>How can i do this?</p>

<p>Thank you</p>
