Can I use jQuery find() for more than one element type at the same time?
<p>I am using the following function to change the padding in a column on my forms:</p>

<pre><code>function padTitles() {
    $('#option-grid #dataTable tr, #topic-grid #dataTable tr')
        .each(function () {
            var tds = $(this).find('input'),
        text = tds.filter('[id^="input_TempRowKey_"]').val(),
        tdToPad = tds.filter('[id^="input_Title_"]'),
        pad;
            if (/\.0$/.test(text)) {
                pad = 10;
                level = 1;
            } else {
                pad = 35;
                level = 2;
            }
            tdToPad.css('margin-left', pad);
            a = tdToPad.closest('tr');
            if (tdToPad.closest('tr').get().className) {
                tdToPad.closest('tr').get().className = tdToPad.closest('tr').get().className.replace(/\blevel\-.*?\b/g, 'level-' + level);
            } else {
                tdToPad.closest('tr').addClass('level-' + level)
            }
        });
}
</code></pre>

<p>It works well for this form HTML:</p>

<pre><code>&lt;td id="title_1" class=" "&gt;
   &lt;input type="text" value="Tests" name="item.Title" id="input_Title_1" &gt;
&lt;/td&gt;
</code></pre>

<p>Now I would also like it to work for the following HTML:</p>

<pre><code>&lt;td id="title_1" class=" "&gt;    
  &lt;textarea name="item.Title" id="input_Title_1"&gt;Tests&lt;/textarea&gt;
&lt;/td&gt;
</code></pre>

<p>Is there a way I can change this function so it works for either an <code>input</code> or <code>textarea</code>?  I assume the way to do this is to change <code>var tds = $(this).find('input'),</code> however I am not sure how to change it or even if it's possible to change to "find" either a textarea or an input. </p>
