There is such a table:
Click Delete Execution save and need to perform onclick event SaveItem ("<% #Eval (" ID ") >", this);
In JS
Copy Code code as follows:
function SaveItem (id,btn)
{
var tbl = $ (BTN). Parent (). Parent (). Par ENT ();
//table The second line of Records
var dj = Tbl.children (). EQ (1). Chilren (). EQ (3). Find ("INPUT"). attr ("value");//find method would have returned Back to an array, but here's an element that can be written like this. If you have more than one element, determine specifically that an element can be selected through the selector used by jquery to confirm or use an enumeration: in Find ("INPUT"). each (function (i) {
//alert ($ (this). attr (" Value "));
//Assignment
$ (this). attr ("value", "Your_value");
})
var content=tbl.children (). EQ (2). Children (). EQ (1). Find ("TEXTAREA"). Text (); The contents of the text box for the third row of the third column. If you use the asp.net asp.net textbox control and it is a multiline pattern here tagname is ' TEXTAREA ', using the attr ("value") method or directly using the text () method to get the value.
var mark = Tbl.children (). EQ (3). Children (), EQ (1). Find ("INPUT"). attr ("value"); this gets the value of the third column in line fourth.
}