title: JQuery multiple id index with form submit
body: <p>not sure how to do this as ID's are ment to be unique but this is a dynamically  series of forms generated from a php array - based on reading the file names in a directory - with the same ID.  What I need to do is identify which form so the data can be processed.</p>
  
  <p>Here is the form</p>
  
  <pre><code>echo '&lt;form method="post" action="" id="frmwidget"&gt;';
          echo '&lt;tr&gt;';
              echo '&lt;td&gt;';
                  echo ucfirst($comments[0]);
              echo '&lt;/td&gt;&lt;td&gt;';   
                  echo $comments[1];
              echo '&lt;/td&gt;&lt;td align="center"&gt;';    
                  echo '&lt;input type="checkbox"&gt;';
              echo '&lt;/td&gt;';
              echo '&lt;/td&gt;&lt;td align="center"&gt;';
                  echo '&lt;input type="checkbox"&gt;';
              echo '&lt;/td&gt;';
              echo '&lt;/td&gt;&lt;td align="center"&gt;';    
                  echo '&lt;input type="checkbox"&gt;';
              echo '&lt;/td&gt;';
              echo '&lt;/td&gt;&lt;td align="center"&gt;';    
                  echo '&lt;input type="submit" id="cmdwidgets"&gt;';
              echo '&lt;/td&gt;';
              echo '&lt;/tr&gt;';
      echo '&lt;/form&gt;';
  </code></pre>
  
  <p>And here is my start of the Jquery</p>
  
  <pre><code>$j(document).ready(function() {
  $j('#cmdwidgets').live('click',function(){
  
  
  alert('Your widgets will load');
  </code></pre>
  
  <p>I will want to Ajax the form in here .. not just an alert</p>
  
  <pre><code>$j('#wall').load("admin/inc/ajax-widgets.php");
  return false;
  });
  });
  </code></pre>
  
  <p>Yes I know the form could be 1 form not multiples, but for this purpose it needs to be multiple forms. And yes I know the form is incomplete i.e. field names etc.</p>
  
  <p>Any help/suggestions please - thanks in advance</p>