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)

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.