gfranko / jquery.selectBoxIt.js

A jQuery Select Box Plugin for Mobile, Tablet, and Desktop
http://www.selectboxit.com
MIT License
852 stars 301 forks source link

copyAttributes and read all their values e one more thing #383

Open davidelongo opened 6 years ago

davidelongo commented 6 years ago

Is it possible to add more attributes to an option?

I tried with copyAttributes but I could not replicate it in TAG UL LI, and above all, I could not understand how to access the attributes of the element I selected.

I would like to do this to replace the contents of the SPAN where the selected element is highlighted. I would rather get a different behavior than usual, after selecting an element to leave highlighted in the SPAN a text that I would like to decide.

do not pay attention to my bad English. I take this opportunity to wish you a happy new year.