title: Edit javascript attribute in html
body: <p>I am new in java script and now I am stuck with a little problem. I searched over the internet but I did not get the answer so I have to post the question.</p>
  
  <p>Problem: I wrote <code>var x=1;</code> in jack.js and I linked it with my HTML file. Now I want to call that <code>var x=1;</code> in HTML page then I want to change it to <code>var x=2;</code>. So that the result will be shown 2 not 1 in HTML page.</p>
  
  <p>Can anybody suggest me what should I need to do?</p>