Need to edge out the competition for your dream job? Train for certifications today.
<div runat="server" id="dvMain">
<td><asp:TextBox runat="server" ID="txtName"></asp:TextBox>
<td><asp:TextBox runat="server" ID="txtAge"></asp:TextBox>
<div><asp:Button runat="server" ID="btnSubmit" Text="Submit" /></div>
Open in new window
An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.
One of a set of tools we're offering as a way of saying thank you for being a part of the community.
<form id="form1" runat="server">
<div runat="server" id="dv">
<asp:TextBox runat="server" ID="txt"></asp:TextBox>
<asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" />
protected void Button1_Click(object sender, EventArgs e)
string str = dv.InnerHtml;
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.