I\'m trying to make a variable thats can work anywhere, and just not in one function.
How do i do this? I\'ve searched for like 1 hour now and i can\'t find it :(
you can always use the window object to attach your "global" variable, but not a very good idea, could cause collisions with other usages
window
window.noneTxt = document.innerHTML="Nothing is playing!";