Take a look at this.
$( window ).resize(function() {
$( "#log" ).append( "<div>Handler for .resize() called.</div>" );
});
// or
$(window).on('resize',function(e){
// handler here.
console.log($(this).width(); // or innerWidth() or outerWidth()
}
http://api.jquery.com/resize/>>>>>As I am working on responsive design of my pages where I am constantly changing the IE browser (10) width to see how my page responds. For example, I have the following code in my .CSS file:
>>>>>
>>>>>@media only screen and (min-width:959px) and (max-width: 1200px) {
>>>>> table.close_wo
>>>>> {
>>>>> width: 900px;
>>>>> }
>>>>>}
>>>>>
>>>>>
>>>>>And I would like to see, at any moment, the specific width of the browser; so that I can see how the page responds. Is it possible with IE? or maybe with chrome?
>>>>>
>>>>>TIA
>>>>
>>>>
http://stackoverflow.com/questions/1038727/how-to-get-browser-width-using-javascript-code>>>>
http://designedbythomas.co.uk/blog/how-detect-width-web-browser-using-jquery>>>
>>>Thank you very much. I should have thought about javascript for this purpose.
>>
>>And with jquery you can use the same code independent of the browser.
>
>One downside of using the jQuery for getting the browser width is that it does not change dynamically, as you resize the browser. You have to refresh the browser when you want to see the width.