Bug Tracker

Opened 10 years ago

Closed 9 years ago

#14507 closed feature (notabug)

Port .uniqueId() and .removeUniqueId() from jQuery UI

Reported by: scottgonzalez Owned by:
Priority: low Milestone: None
Component: core Version: 1.10.2
Keywords: Cc:
Blocked by: Blocking:


This is used in several places in jQuery UI and jQuery Mobile, generally for ARIA. This is also useful for any situation where an attribute references another element by id, such as for and list.


Change History (6)

comment:1 Changed 10 years ago by jzaefferer

Some name suggestions from the Amsterdam meeting:

  • ensureId() and ???
  • fosterUniqueId() and removeFosteredId()

comment:2 Changed 10 years ago by Timmy Willison

Component: unfiledcore
Priority: undecidedlow
Status: newopen

comment:3 Changed 9 years ago by scottgonzalez

I came across a request for this to move to core on Twitter: http://twitter.com/yaroshevych/status/409668441164247040

comment:4 Changed 9 years ago by jzaefferer

Can this at least get a milestone of 1.next/2.next?

comment:5 Changed 9 years ago by dmethvin

Should we be looking at using it internally then? Normally we don't add plugin material unless we need it internally.

comment:6 Changed 9 years ago by dmethvin

Resolution: notabug
Status: openclosed

We don't need these and they're not part of our DOM core competency, so I don't think we'd add them.

Note: See TracTickets for help on using tickets.