Javatpoint Logo
Javatpoint Logo

jQuery innerWidth()

jQuery innerWidth() method is used to return the inner width of the first matched

element without including border and margin.

This method includes padding but excludes border and margin.

This image explains that jQuery innerWidth () method includes padding but not border and margin.

Syntax:

Example of jQuery innerWidth() method

Let's take an example to demonstrate the jQuery innerWidth() method.

Test it Now

jQuery innerWidth() example 2

Let's take an example to demonstrate the effect of jQuery innerWidth() method.

Test it Now




Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA