how to select a particular field using a jquery
<p>my code is</p>

<pre><code>&lt;div id="fields"&gt;
&lt;form id="question-form"&gt;  &lt;input type="hidden" name="question-main" value="&lt;?php echo mysql_prep($_GET['ques']);?&gt;" /&gt;&lt;/form&gt;

&lt;a class="vote-up-off"&gt;up vote&lt;/a&gt;

&lt;span class="vote-count-post"&gt;&lt;?php echo $row["upvotes"]+$row["downvotes"];?&gt;&lt;/span&gt;

 &lt;a class="vote-down-off" id="&lt;?php echo mysql_prep($_GET['ques']);?&gt;" &gt;down vote&lt;/a&gt;

 &lt;a class="star-off" href="#"&gt;favorite&lt;/a&gt;
&lt;/div&gt;
</code></pre>

<p>and my jquery code is </p>

<pre><code>$("document").ready(function(){
$(".vote-up-off").click(function(){
// here i want the id of form field and votecountpost field which is up and down to this field
})
})
</code></pre>

<p>the div field repeats again and again as the field present on database.So i want to get the particular field id using jquery and will perform some action using jquery.
How to find this?</p>
