title: jquery putting json in a dialog
body: <p>I have this piece of code inside a <code>jQuery</code> focusout :</p>
  
  <pre><code>$.ajax({ 
     type : 'GET',
     data : 'auteur='+auteurExiste,
     url  : 'existeAuteur.php',
     success: function(data) {
        jQuery.each(data, function(index,item) {
        alert ("bla bla bla "+item)
        });
      }               
  });
  </code></pre>
  
  <p>The <code>json</code> response from <code>existeAuteur.php</code> is :</p>
  
  <blockquote>
    <p>0:"Le droit privé"</p>
    
    <p>1:"Le droit foncier"</p>
  </blockquote>
  
  <p>This of cours opens an alert per item. (logical since the alert is within the jQuery.each).</p>
  
  <p>But how can I put the list of items in one single alert box, or in a single <code>jQuery.dialog</code>. I tried to put the <code>jQuery.each</code> in a function dialog but without success.</p>
  
  <p>Thanks !</p>