Bug Tracker

Modify

Ticket #10441 (closed enhancement: duplicate)

Opened 20 months ago

Last modified 20 months ago

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

comment:1 Changed 20 months ago by rwaldron

  • Status changed from new to closed
  • Resolution set to duplicate

comment:2 Changed 20 months ago by rwaldron

Duplicate of #9502.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.