I have a repeater and a lable inside the repeater, that is binded with a table having 5 row each row has username that is binded to lable control.
<asp:Repeater ID="PostsRepeater" runat="server">
<ItemTemplate>
<asp:Label ID="lblUserName" runat="server" Text="<%#Eval("username") %>"></asp:Label>
<asp:TextBox ID="txtUser" runat="server"></asp:TextBox>
<input id="btnGetUser" type="button" value="Get" />
</ItemTemplate>
</asp:Repeater>
i want to get the name of user that has some values in the textbox on button click using javascript