Tutorialsplane

jQuery outerWidth Method


jQuery outerWidth Method : is used to get the width of selected element including the padding and border both. It returns width padding and border ie. outer width = border width + padding + with of container.
We are going to explain this method with example and demo.


jQuery outerWidth Method Syntax

jQuery Syntax for outer with –

$(selector).outerWidth();

jQuery outerWidth Method Example

Here is example for outer with of the container –

If you run the above example it will produce the following output-

Jquery Tutorial

jQuery Effects

jQuery Traversing

jQuery HTML

jQuery Css

jQuery Scroll

jQuery Dimensions

jQuery Ajax