title: How submit a form from JQuery function without ID
body: <p>I have this form,  but this form inside PHP foreach function that gives the value from database, so I can't give the form id because redundancy will happened. And when click on any star in stars rating it will do as a submit, go to function so in the function I want to submit the form without id how? </p>
  
  <pre><code>&lt;form class="watching-us-reating-form" name="swatching-us-reating-form" action=" method="get"&gt;
      &lt;input type="hidden" name="watchlist_id" value="&lt;?php echo $fundAndUserWatchingThem['contactId']?&gt;"&gt;
      &lt;!-- This hidden field used to save the value of the rating before submit --&gt;
      &lt;input type="text" name="priority" class="watching-us-reating-value"&gt;
  
      &lt;!-- This DIV to contain the stars rating --&gt;
      &lt;div class="watching-us-rating-div" data-score="&lt;?php echo $flag; ?&gt;" data-number="&lt;?php echo $numberOfStars; ?&gt;"&gt;&lt;/div&gt;
  &lt;/form&gt;
  </code></pre>