Inject data attribute into selection item?

BrianL's Avatar

BrianL

02 May, 2012 07:39 PM

Hey- working with this plugin, I find one thing lacking.... I would like to be able to assign an attribute to the selection item, let's say "data-id" that correlates to the value of the specific selection from the database. I can access the element, and I can inject a data item into the result object, but not into the selection object that has been created from the result

Any ideas?

Thanks!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac