Bug Tracker

Changes between Initial Version and Version 1 of Ticket #15214, comment 2


Ignore:
Timestamp:
Aug 18, 2014, 11:58:02 AM (8 years ago)
Author:
Rick Waldron
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15214, comment 2

    initial v1  
    2323This isn't a jQuery bug. Attribute properties provided by a context object are subject to the rules of HTML, so the same would happen if you wrote:
    2424
     25
     26{{{
    2527var div = document.createElement("div");
    2628div.dataset.stuff = {"field1":"1", "field2":"2"};
     29}}}
     30
    2731
    2832