Menu. $(window).resize(function() { var wi = jquery if window width; jquery if window width is less than; jquery resize if width; jquery below 768px; javascript call function if screen size is smaller; javascript es6 if screen size; javascript if browser width is less than; javascript if screen smaller than; javascript if window width greater than; javascript see if screen width 768 or less Just watch the "window" info box in the top right of the page as you resize the window to see how the event fires. It's free to sign up and bid on jobs. The main topics are to write better code and to learn. How to Capture Browser Window resize with jQueryGet screen size. In jQuery there are .width () and .height () methods that you can use to detect the screen size. Detect Resizing. This executes whenever the window gets resized. When resize complete. If your script using some resources e.g. Conclusion. When this method triggers, basically a function does anyone know how to maximize window width jquery? Now, a callback function has to be defined within this resize() method. jQuery Bootstrap Button. Here Mudassar Ahmed Khan has explained with an example, how to close (hide) Bootstrap Modal Popup Window using jQuery. The Close Button is assigned a jQuery Click event handler and when the Close Button is clicked, the Bootstrap Modal Popup Window will be hidden (closed) using modal function and passing the parameter value hide. In order to increase or decrease the modal window height and width properties of Bootstrap, you need to get the modal related classes and use desired values either in the