how to get value from different zones using jquery?
<p>I am trying to pass unique passnum value to different zone information  using jquery, so that the passnum  information is specific to a specific zone.
for example zone1 may passnum = 100 and zone2  may have 50</p>

<p>Is it possible to pass the unique passnum value to each of the zones<code>&lt;h5&gt; &lt;/h5&gt;</code>based on the zone using jquery? since there could be hundreds of zone blocks dynamically created.</p>

<pre><code>&lt;div class="wrapper" class="zone1"&gt;

other divs here (could have unknown amount of div block or tages here


&lt;div &gt;&lt;span class="pass-num"&gt;&lt;h5&gt;some num  &lt;/h5&gt;&lt;/span&gt; &lt;/div&gt;

&lt;/div&gt;



&lt;div class="wrapper" class="zone2"&gt;

other divs here (could have unknown amount of div block or tages here


&lt;div&gt;&lt;span class="pass-num"&gt;&lt;h5&gt;some num(pass val here)  &lt;/h5&gt;&lt;/span&gt; &lt;/div&gt;

&lt;/div&gt;

I have cthe ode below which works when u know the zone and structure

$(document).ready(function() {

            var passnum ="110";
            var passtext="All";


            $('div.pass-text&gt;h4').text(passtext);
            $('div.pass-num&gt;h4').text(passnum);





    });
    &lt;/script&gt;
</code></pre>
