Ticket #451 (closed enhancement: wontfix)
DOM helper: $id()
| Reported by: | FND | Owned by: | FND |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.4.2 |
| Component: | core | Version: | |
| Severity: | trivial | Keywords: | |
| Cc: |
Description (last modified by FND) (diff)
The attached patch introduces the $id() function* as a shortcut for document.getElementById().
Apart from being a convenience, this also saves ~2 kB of code.
* name tentative; chosen to prevent conflicts with Prototype's $() function
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

