I want to set the width of a div to the same value as the window height.
I tried something like this:
<script type="text/javascript"> $(".rt-container").style.width = $(window).height(); </script> But it's not working. Maybe because I'm an absolute beginner with javascript.
How can I achieve it (by using jquery)?
style, DOM node has