jQuery | innerWidth() with Example
The innerWidth is an inbuilt method in jQuery which is used to return the width of the first matched element.
Here selector is the selected element.
Parameters: It does not accept any parameters.
Return value: It returns the width of the selector.
jQuery code to show the working of innerWidth() method:
Before clicking on the paragraph-
After clicking on the paragraph-