Opened 11 years ago
Closed 11 years ago
#12147 closed bug (invalid)
Reword documentation for .width() method
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The wording on the page http://api.jquery.com/width/ is confusing.
This text:
The difference between .css(width) and .width() is that the latter returns a unit-less pixel value (for example, 400) while the former returns a value with units intact (for example, 400px).
could be beter written as:
The difference between .width() and .css(width) is that the former returns a unit-less pixel value (for example, 400) while the latter returns a value with units intact (for example, 400px).
Note: See
TracTickets for help on using
tickets.
Please file api doc related bugs here: https://github.com/jquery/api.jquery.com