jquery - How to get window width within an iframe? -
i want width of browser.
i have code inside iframe
alert($(document).width()); but display width of <div> element instead.
i try code:
alert($(window).width()); but same results.
try this;
parent.document.body.clientwidth
Comments
Post a Comment