There is such code in asp.net webforms:
<asp:GridView ID="grdRole" runat="server" AutoGenerateColumns="false" CssClass="NormalText" Width="100%" OnRowDataBound="grdRole_OnRowDataBound"> <RowStyle HorizontalAlign="Center" CssClass="NormalText"/> <HeaderStyle BackColor="#fb9d00" CssClass="BlackHeader"/> <Columns> <asp:BoundField DataField="UserName" ReadOnly="true" HeaderText="User Name" /> <asp:BoundField DataField="FirstName" ReadOnly="true" HeaderText="First Name" /> <asp:BoundField DataField="LastName" ReadOnly="true" HeaderText="Last Name" /> <asp:BoundField DataField="CreatedOn" ReadOnly="true" HeaderText="Created on"/> <asp:BoundField DataField="Name" HeaderText="Role"/> <asp:ButtonField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ControlStyle-CssClass="Button" CommandName="BindUserFields" Text="Edit" HeaderText="" ButtonType="Link" CausesValidation="False"/> That is, some kind of gridview makes a table with an edit button. You need to somehow get through jquery the values of all the cells of the row in the table where this button is located. That is, the essence is that when I click on the edit button, I get a popup, with fields that need to be filled with data from the cells of the line in which the button was pressed. How can I do that ? I tried through parent, but nothing happened.