jquery attr alt duplicated into the attr title
<p>I wrote this tiny jQuery code piece to get the alt tag value and apply the same value to the same input as the attr title.  This works but not when I put it into my larger jQuery file.  So I'm wondering if I can write this out in one chained jQuery line instead of two.</p>

<pre><code>var modname = $("input").attr("alt");
$("input").attr("title",modname);
</code></pre>
