title: How to call js file function from code behind page
body: <p>I have following function in .js file and i need to call it from code behind page after saving a record.</p>
  
  <p>I have registered scipt file in aspx page </p>
  
  <p><strong>aspx file</strong></p>
  
  <pre><code>  &lt;script type="text/javascript" src="/scripts/visit-flash-report.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p><strong>.js file</strong></p>
  
  <pre><code>function reloadDocTab() {
  
  alert('hello');
  $('#frmDocs').attr('src', $('#frmDocs').attr('src'));
  }
  </code></pre>
  
  <p><strong>Code behind page</strong></p>
  
  <p>I have tried the function but it is not working</p>
  
  <pre><code>Page.ClientScript.RegisterOnSubmitStatement(Me.[GetType](), "reload function", "return reloadDocTab();")
  </code></pre>