title: JS multiple function with the same name
body: <p>I use different javascript function. The problem is that they have the same name so they overwrite each other. I would like to put a different name but so far it didn't work.</p>
  
  <p>Here one of the function and how I use it:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;     
      $(function() {
          $('#datepicker').multiDatesPicker({
              altField: '#date',
              dateFormat: "yy-mm-dd",
          });
  &lt;/script&gt;
  
  &lt;div id="datepicker"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>The other function start like this too <code>$(function() {}</code> and use the same way <code>&lt;div id="date"&gt;&lt;/div&gt;</code></p>
  
  <p>I try to put <code>$(function name()</code> but it didn't work.
  Do you have any idea? Thanks</p>