Skip to content

Key and value in tag? #123

@Goldjan

Description

@Goldjan

Is it possible to save a key and value here?

Possible data structure:

var countries = [
  ['Germany', 'de'],
  ['USA', 'us'],
  ['Spain', 'es']
];

I want this:

<li class="taggle ">
  <span class="taggle_text">Germany</span>
  <button class="close" type="button">×</button>
  <input type="hidden" value="de" name="taggles[]">
</li>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions