addnode produces invalid HTML
mykle - November 20, 2007 - 02:40
| Project: | Addnode |
| Version: | 5.x-1.2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
HTML does not allow multiple elements on the page to have the same ID. ID is supposed to be a unique identifier.
In fact, the addnode.js file has to use some arcane jQuery selection syntax because the standard jQuery selection-by-ID syntax doesn't work for invalid HTML.
Solution: use class instead of ID.
