yes but i don't know what it is ,how does it work and why is it there , does this .document have to be on my server/web host directory .also i need some help building a java script to work with my PHP program , set to play when i press my button. oz at the moment i does nothing but refresh
document is the internal browser object. All browsers represent html page as DOM tree. You can read more about DOM here.
Maybe you have to add preventing default action of your button or form to stop refreshing page. Please show your code to find a reason of refreshing the page.