Skip to content

Multiple DOM elements with matching ID's - is this legal? #320

@Fandangi

Description

@Fandangi

Hi - thanks for the great plugin. I noticed that for itemviews, stickit produces multiple dom elements with identical id properties.

For example

{ firstName: "Tom"},{firstName: "Dick"},{firstName: "Harry")

passed into a stickit enabled view of

  • will produce

  • Tom
  • Dick
  • Harry
  • My question is - is it allowed to have these multiple DOM elements with the same ID?

    Thanks.

    [PS. I realise this is an old and stable plugin now and this may not be answered for a while...a bit like the Heiniken complaints line ad...]

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      No labels
      No labels

      Type

      No type

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions