Bug Tracker

Changes between Initial Version and Version 1 of Ticket #10606, comment 4


Ignore:
Timestamp:
Oct 28, 2011, 10:30:43 AM (9 years ago)
Author:
Rick Waldron
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10606, comment 4

    initial v1  
    33
    44If you write unexpected code, unexpected things happen.
     5
     6
     7>Of course it shouldn't happen, but with dynamically generated content it CAN happen. Fact is jQuery does not handle ID-selectors consistently.
     8
     9If this is an issue, the problem is not jQuery, it is the code that is dynamically generating elements that share IDs. The obvious approach is to write tests for your code that assert no duplicate IDs are created.