Use a comma to union multiple queries:
var tds = $(this).find('input, textarea');
You can also use :input as a selector, but it’s not as efficient and may also include some things you’d rather not include.
Use a comma to union multiple queries:
var tds = $(this).find('input, textarea');
You can also use :input as a selector, but it’s not as efficient and may also include some things you’d rather not include.