Modify ↓
Ticket #10441 (closed enhancement: duplicate)
Add .hasData method in addition to jQuery.hasData
| Reported by: | wilfred@… | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | None |
| Component: | unfiled | Version: | git |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
It would be nice to have a .hasData method on a selection, in the same way jQuery.data and jQuery.removeData already do.
Commit is https://github.com/Wilfred/jquery/commit/12b79076a0d90f1f3f4614479d3113078d003877 and I'll submit a pull request.
Please let me know if it's OK.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.
