+ 2
I canât able to find answer. Somebody help me please???
<div style=âwidth:200pxâ></doc> <script> $(function (){ $(âdivâ).css(âpaddingâ,â5pxâ); alert($(âdivâ).innerWidth()); }); </script>
4 Answers
+ 1
Not sure what answer you were expecting, but this returns 344 (portrait) and 656 (landscape) for me in the Code Playground.
https://code.sololearn.com/WE6jxrBnYeFS/?ref=app
+ 3
okkk thank you so much
+ 2
sorry that was </div>
0
what is
</doc>
?