jQuery pass value class
<pre><code>$(".hidee2").click(function() {
    var type = $(".st").val();
}

&lt;form action="" method="POST"&gt;&lt;input type="hidden" class="st" value="st"&gt;&lt;div class="button"&gt;Room Status : Accepting Reservation &lt;br /&gt;&lt;span&gt;&lt;span&gt;&lt;a class="hidee2"&gt;Book Now!&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/form&gt;

&lt;form action="" method="POST"&gt;&lt;input type="hidden" class="st" value="st2"&gt;&lt;div class="button"&gt;Room Status : Accepting Reservation &lt;br /&gt;&lt;span&gt;&lt;span&gt;&lt;a class="hidee2"&gt;Book Now!&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/form&gt;

&lt;form action="" method="POST"&gt;&lt;input type="hidden" class="st" value="st3"&gt;&lt;div class="button"&gt;Room Status : Accepting Reservation &lt;br /&gt;&lt;span&gt;&lt;span&gt;&lt;a class="hidee2"&gt;Book Now!&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/form&gt;
</code></pre>

<p>How do i get which book now! link user click? because i need to pass over the st value? is there any way to achieve this using jquery? currently, only st value is passed over</p>
