Bug Tracker

Ticket #2316 (new enhancement)

Opened 10 months ago

removeData for complete namespaces

Reported by: klaus Assigned to: anonymous
Type: enhancement Priority: minor
Milestone: 1.2.4 Component: core
Version: 1.2.3 Keywords: data
Cc: Needs: Review

Description

The removeData methods should work on complete namespaces - similiar to unbind - so instead of

$(el).removeData('foo.ns').removeData('bar.ns');

you can write:

$(el).removeData('.ns');

Attachments

Note: See TracTickets for help on using tickets.