title: Jquery help needed, trying to get a specific div with an id that is dynamically generated to toggle
body: <p>I'm a newbie with jquery so I'm still trying to test things out.</p>
  
  <p>With php I'm generating div's with a an id, </p>
  
  <p>example : </p>
  
  <pre><code>&lt;div id="myid-1"&gt;&lt;/div&gt; 
  &lt;div id="myid-2"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>and so on. if I click on a link I need to toggle that id. Here is my jquery code</p>
  
  <pre><code>$("#sublike").live('click', function(){
  
      $(this).find(div[id^='sublike-form-']).toggle();
  
  });
  </code></pre>
  
  <p>I'm doing something wrong, as firebug is saying undefined.</p>
  
  <p>What is the correct why of findinf a dynamic div id to toggle it?</p>
  
  <p>Thanks for the help.</p>