Skip to main content

Bug Tracker

Side navigation

#14507 closed feature (notabug)

Opened November 04, 2013 02:01PM UTC

Closed March 01, 2014 10:16PM UTC

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:
Description

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.

https://github.com/jquery/jquery-ui/blob/601ad962e0a417bb369378ed7704a0b493eac365/ui/jquery.ui.core.js#L72-L90

Attachments (0)
Change History (6)

Changed November 04, 2013 02:09PM UTC by jzaefferer comment:1

Some name suggestions from the Amsterdam meeting:

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

Changed November 04, 2013 02:58PM UTC by timmywil comment:2

component: unfiledcore
priority: undecidedlow
status: newopen

Changed December 08, 2013 03:10PM UTC by scottgonzalez comment:3

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

Changed January 21, 2014 09:03PM UTC by jzaefferer comment:4

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

Changed January 21, 2014 09:06PM UTC by dmethvin comment:5

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

Changed March 01, 2014 10:16PM UTC by dmethvin comment:6

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.