codeGK
Code it ALL
jQuery outerWidth() - CodeGK

♦ jQuery outerWidth()

♣ Example5: jQuery outerWidth()

outerWidth() method returns the outerWidth of the HTML element selected.
Note that margin is not included for calculation of the width.
Below is the representation of jQuery outerWidth() Syntax.
Basic Syntax
$(selector).outerWidth()
Syntax Explanation:
selector : HTML element selector
outerWidth() : method for returning outerWidth
In this example, jQuery outerWidth() method is illustrated.
Example
Input:
Output:
Dimensions