.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Sharon Maxwell
Post New Web Links

Could you please someone help me out with this "object HTMLInputElement"

Posted By:      Posted Date: September 11, 2010    Points: 0   Category :ASP.Net
 
Hi, I am trying to capture the BUTTON ID of ASP.net in JavascriptPlease find the code below,  in alert message i am getting the ID as "object HTMLInputElement"  instead of Button1Could you please some one help me out?<form id="form1" runat="server">    <UserControl1:MSControl ID="MSControl1" runat ="server" />                        <div align="center">        <h1>MY ALBUM</h1>                        <asp:Image ID="Image1"  runat="server" ImageUrl="~/Images/2.jpg" />            <asp:Button ID="Button1" runat="server" OnClientClick="gettd();" />                                    </div>          <script type = "text/javascript">        &nb


View Complete Post


More Related Resource Links

Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend