chaining and getting the value of an input
Posted
by cf_PhillipSenn
on Stack Overflow
See other posts from Stack Overflow
or by cf_PhillipSenn
Published on 2010-04-22T22:05:09Z
Indexed on
2010/04/22
22:13 UTC
Read the original article
Hit count: 117
jQuery
This code gets the text that's in a certain column of a table row:
var keyA = $(a).children('td').eq(column).text().toUpperCase();
Q: How do I rewrite this to get the value of an input tag that's in the table cell?
var keyA = $(a).children('td').eq(column).('input').val().toUpperCase();
© Stack Overflow or respective owner