codeGK
Code it ALL
jQuery innerWidth() - CodeGK

♦ jQuery innerWidth()

♣ Example3: jQuery innerWidth()

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