How to get width of div using jquery
css, html, javascript, jquery
Solution
It looks like you have made a simple mistake.
Try changing
$('#window').width();
to
$('#widnow').width();
From what you have displayed here, you have misspelled window as widnow.
Problem
How to get width of div using jquery `$("#window").width();` is not working ``` <div id="widnow"></div> ``` CSS: ``` #widnow{ width:500px; border:solid 1px; float:left; } ```