I want to set the width of an <iframe>
based on the browser's width and height.
Is it possible to get the browser's width in pixels using JavaScript?
Try using :
$(window).width();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With