Menu
Hi
As I am adding more and more features to the webpage…. i end up using more and more JS code… and to keep it separate for the HTML code… I want to move the JS code to a separate file…. but I access some elements using ‘document.getElementById’ method… which I have noticed is not accessible from the JS file… and also I am passing an object as an argument in some of the functions…. which i cannot access from the JS file…
Is there anyway, i can move such functions to the JS file? Please help me…