title: Multiple selector using jQuery
body: <p>i am using a jquery plugin and my code look somthing like this. </p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  $(document).ready(function() {
      $('#fileUpload').uploadify({ 
        'uploader': 'img/uploadify.swf',
        'script': 'uploadify.php',
        'folder': 'upload',
        'auto' : 'true',
        'cancelImg': 'img/cancel.png',
        'fileDesc': 'jpg/jpeg',
        'displayData': 'percentage',
        'fileExt': "*.jpg;*.jpeg",
        'sizeLimit' : '8388608',
        'fileDataName' : 'file',
        onComplete: function(event, queueID, fileObj, reposnse, data) 
        {
       $('#filesUploaded').append('&lt;a href='+fileObj.filePath+'&gt;'+fileObj.name+'&lt;/a&gt;&lt;br&gt;');
       $("#firstUpload").remove();
  
          }
        }); }); 
  
  $(document).ready(function() {
      $('#fileUpload2').uploadify({ 
        'uploader': 'img/uploadify.swf',
        'script': 'uploadify.php',
        'folder': 'upload',
        'auto' : 'true',
        'cancelImg': 'img/cancel.png',
        'fileDesc': 'jpg/jpeg',
        'displayData': 'percentage',
        'fileExt': "*.jpg;*.jpeg",
        'sizeLimit' : '8388608',
        'fileDataName' : 'file',
        onComplete: function(event, queueID, fileObj, reposnse, data) 
        {
       $('#filesUploaded').append('&lt;a href='+fileObj.filePath+'&gt;'+fileObj.name+'&lt;/a&gt;&lt;br&gt;');
       $("#firstUpload").remove();
  
       }
        }); }); 
        &lt;/script&gt;
  </code></pre>
  
  <p>did you notice that i am using the exact same function and i am just changing the div name, ain't that ridiculous ? now i want my jquery function to accept two div parameters. can i do that? </p>
  
  <p>thank you..</p>