title: Finding an asp:button and asp:textbox in Javascript
body: <p>What I'm trying to do is get an asp:button to click. The only problem is that it is within a few tags.</p>
  
  <p>Example:</p>
  
  <pre><code>&lt;loginview&gt;
       &lt;asp:login1&gt;
            &lt;logintemplate&gt;
                //asp:textbox and asp:button are located here.
            &lt;/loginview&gt;
       &lt;/asp:login&gt;
  &lt;/logintemplate&gt;
  </code></pre>
  
  <p>So how would I get javascript to point to that location so that I can manipulate it. For example, get the button to click.</p>