sharing a js functions between code in 2 files
<p>My jquery code is divided file is divided over 2 files. </p>

<p>In one of the file, I define a function</p>

<pre><code>function something(input){
  //does something
}
</code></pre>

<p>calling this function only works when the caller line is in the same file. But I need to call it from both files. </p>

<p>If I switch the function to the second file, again I get the same issue. The code in the same file can read it, but not the code in the other file. </p>
