title: unable to call click event in JS file
body: <p>Below is the html code:</p>
  
  <pre><code> &lt;input type="button" id="abc" name="TechSupport_PartsOrder" value="Open Editor" /&gt;
  </code></pre>
  
  <p>Below is the JQuery Code:</p>
  
  <pre><code>$('#abc').click(function () {
  alert('x');
  });
  </code></pre>
  
  <p>Now when i put the above JQuery code to JS file it does not work, while when i put the same in page it works fine. Why this is happening i don't knw.</p>
  
  <p>And if i call the function onclick of button like this:</p>
  
  <pre><code> &lt;input type="button" id="abc" name="TechSupport_PartsOrder" onclick="abc()" value="Open Editor" /&gt;
  </code></pre>
  
  <p>JQuery:</p>
  
  <pre><code>function abc()
  {
   alert('x');
  }
  </code></pre>
  
  <p>it works well..</p>