resize() event handling in JQuery

Triggers when browser window changes its size. Syntax is here
/// code here ///

  • Video Tutorial on window resize Events

Displaying window width while resizing.
Demo is here ( Change the size of this window and check the width displayed while changing )
Resize this window


$(document).ready(function() {
// Jquery code here ///
  $('#d1').html("Resize event,  : window width :"+ $(window).width())


<div id=d1>Resize this window</div>

  • Video Tutorial on keyboard Events

Event Reference scroll()
Keypress() keyup() keydown() Learn which key is pressed by user

Post your comments , suggestion , error , requirements etc here .

Most Popular JQuery Scripts


Two dependant list boxes


Calendar with Date Selection


Data change by Slider


Show & Hide element

JQuery Video Tutorials

We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
©2000-2021 All rights reserved worldwide Privacy Policy Disclaimer