Would it be possible to pass in an array as the parameter and then have the data attribute looks for specific items in the array?
I have the following function: