title: How to set the innerHTML of an element from another file using javascript?
body: <p>I am trying to set the value of HTML file using a javascript of another HTML file.</p>
  
  <p>for example :</p>
  
  <pre><code>html1.html 
  js1.js // this is for html1.html
  
  html2.html // inside this html file, I wanted to set the value and innerHTML of 1 element using js1.js
  </code></pre>
  
  <p>for example element:</p>
  
  <pre><code> &lt;input id="cID" name="cID" type="text" class="required form-control"&gt;
  </code></pre>
  
  <p>IS there anyway to achieve it??</p>
  
  <p>Thank you and Regards,</p>