Split a variable

Thanks for the help!


I am going to try this for my project this afternoon.


The reason I am using this JavaScript solution, is because I don't know the exact contents of the variable lijst_MO . This var is filled based on many different criteria.


The background story, if you're interested, is that the users can select a large number of 'keywords' by placing a check in a checkbox. The user runs through the same keywords five different times. 


So they have item 01 selected three times, item 02 selected once, item 03 selected four times, etc.


The idea is to present the user the 3 highest (most selected) items in a list. These items then must be separate variables because in the next step, I need to check if the highest scoring variables, match with the same items on a different list.


Long story short: I have a dynamic list, and need to make separate variables from it.


I have good hope that your solution may work! Will let you know!


 


Thanks a lot for your effort so far!

Discussions have been disabled for this post