multi-select
multi-select copied to clipboard
How to get the current li attribute in the afterSelect callback function?
How to get the currentliattribute in the afterSelect callback function?
I want to make a judgment based on the values of value, and add some different styles or contents to li after the selection.
Did you have any luck with this feature @mofengfs ? I added some data-attibutes to the list options that I want to use in the afterSelect function.
Did you have any luck with this feature @mofengfs ? I added some
data-attibutesto the list options that I want to use in theafterSelectfunction.
Brother, a long time has passed. I don't need JQuery for a long time.
Alright brother :) Appreciate the answer. Take care