Finding an asp:button and asp:textbox in Javascript

Posted by Andrew on Stack Overflow See other posts from Stack Overflow or by Andrew
Published on 2010-06-11T17:42:50Z Indexed on 2010/06/11 18:03 UTC
Read the original article Hit count: 223

Filed under:
|
|

What I'm trying to do is get an asp:button to click. The only problem is that it is within a few tags.

Example:

<loginview>
     <asp:login1>
          <logintemplate>
              //asp:textbox and asp:button are located here.
          </loginview>
     </asp:login>
</logintemplate>

So how would I get javascript to point to that location so that I can manipulate it. For example, get the button to click.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about textbox