Ticket #20 (closed enhancement: fixed)
makeId() - Generate unique id attributes for HTML elements
| Reported by: | dartar | Owned by: | JavaWoman |
|---|---|---|---|
| Priority: | high | Milestone: | 1.3.1 |
| Component: | core | Version: | 1.1.6.0 |
| Severity: | normal | Keywords: | ported |
| Cc: |
Description (last modified by DarTar) (diff)
In a number or different contexts we want to generate HTML elements that have an id attribute. The result will only be valid XHTML if the id is unique on the page.
This is the development page for a new method that can generate id values while making sure they are actually unique. Of course the latter will only work reliably if every bit of Wikka code that (now) generates an id (or would need to) makes use of this method so it can keep track of already-used id values.
Status
tested
Ref
Related tickets
Change History
Note: See
TracTickets for help on using
tickets.