I want to get an html element’s width like so:
var elementWidth = document.getElementById("myElement").style.width;
Then I want to assign this to the current window which is a popup created using:
window.open("myUrl","myName","width=200,height=200");
How would I go about doing that? Any pointers coz the windows cant be assign width & height values like elements.
This can be done by doing: