Quantcast
Channel: Questions in topic: "item"
Viewing all articles
Browse latest Browse all 274

Create group people, Select one or more at random.

$
0
0
I'm trying to create a group of items with certain attributes and then select one item and show their attributes. The "group" can be a list, array, class, anything (whatever is the absolute easiest to work with so long as I can add and remove items at will). For the sake of argument, say I have four people along with their age and weight. Bob, 25, 150; Mike, 33, 175; Jenny, 18, 110; Susan, 20, 115; I simply don't know how to create the class or list (etc.) that includes these items and then select a person and display their proper age and weight. I've been searching high and low and so far, I've tried everything I know and can't quite get any of it to work.

Viewing all articles
Browse latest Browse all 274

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>