how to get value from the previous hidden input from a span tag using jQuery
<p>how to get value from a hidden input previous to a span tag using jQuery</p>

<pre><code>    &lt;div&gt;
   &lt;input type="hidden" value="&lt;?php echo $activeTimeID; ?&gt;" class="activeTimeId"
  name="activeTimeID&lt;?php echo $j;?&gt;[]" /&gt;
     &lt;span class="closeTime"&gt;close&lt;/span&gt;
   &lt;/div&gt;
</code></pre>
