How to get the textbox value of all fields when a key is entered. Im able to get only first and last textbox value. I failed to get the middle textbox value.
$("#GridView1 :text").live("keyup", recalculate);
function recalculate() {
$("#GridView1 tbody tr:first").each(function () {
var text = $(":text", this);
var First = Number.parseInvariant(text.first().val());
var Middle= Number.parseInvariant(text.first().next().val());
var Last= Number.parseInvariant(text.last().val());
});
}