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.
Problem: I wrote var x=1; in jack.js and I linked it with my HTML file. Now I want to call that var x=1; in HTML page then I want to change it to var x=2;. So that the result will be shown 2 not 1 in HTML page.
Can anybody suggest me what should I need to do?