first at all thanks for reading.
I wrote a code that suppose to search any input type text inside many the idea is search if each element inside of the contains a text, if it's then the tr will be .show() if any of the elements inside of the tr contains the text the tr will be .hide(). But i cant get the value of the input, maybe some silly mistake. So the structure could be:
<tr>
<td><div><div><input type="text" value="hello world" /></div></div><td>
<td><div><input type="text" value="hello world" /></div><td>
</tr>
<tr>
<td><input type="text" value="tutu" /><td>
<td><span><input type="text" value="orl" /></span><td>
</tr>
/* renglones is every <tr> */
$.each( renglones, function() {
var inputs = $(this).find('input [type=text]').find('input');
console.info(inputs);
$(inputs).each(function() {
console.info($(this).val());
});
});
var inputs = $(this).find('input[type=text]');