jQuery prevAll for seperate elements
<p>How can I get the previous input value in the fiddle below. I get undefined unless they are in the same span.</p>

<pre><code>&lt;span&gt;
&lt;input type="text" value="48.00" &gt;
&lt;/span&gt;
&lt;span&gt;
&lt;input type="text" value="44.00" &gt;
&lt;/span&gt;
$('input[type=text]').click(function () {
alert($(this).prevAll("input[type=text]").val());
});
</code></pre>
