I would like to set div sizes to the size of browser window on open.
I am using this to get the window height..
var height = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight; but now I am stuck as to how i can pass this height into the html..
The div I want to resize has a lot of content inside so I don't think I can simply use replaceWith() and put the new height css inline as i need to also pass in all the other html which will be a big pain.
If you can answer in both js and/or jQ it would be fantastic.
Thank you