I'm trying to make a div go fullscreen when I click a button, and when I do that I want the body element to NOT scroll. It works nicely on the browser or iPad simulator (Xcode) but in the actual iPad I can still scroll down/up
basically, this is the button changing the style when it's clicked:
document.getElementsByTagName('body')[0].style.overflow = 'hidden'
document.getElementsByTagName('body')[0].style.position = 'fixed'
document.getElementsByTagName('body')[0].style.height = '100%'
document.getElementsByTagName('html')[0].style.overflow = 'hidden'
document.getElementsByTagName('html')[0].style.position = 'fixed'
document.getElementsByTagName('html')[0].style.height = '100%'