I am using select controls to cascade a filter selection going from league, team, to player. I was trying to add a player profile image to each player but I can't seem to add an img within an Array.push. Any thoughts on how to render an image next to the player's name with the select control? I have the cascading filter setup for numerous values so I'm trying to not have to create new logic for the cascading select controls and their array of values if possible.
My current code is:
playerLists["MIN - Minnesotta Vikings"].push(["Player 1"]);
playerLists["ARI - Arizona Cardinals"].push(["Player 1"]);
playerLists["DAL - Dallas Cowboys"].push(["QB Tony Romo "]);
playerLists["DAL - Dallas Cowboys"].push(["RB Tyler Clutts"]);
playerLists["DAL - Dallas Cowboys"].push(["WR Cole Beasley"]);
...etc....
Thanks for any help you can give.
array? Post code of what you're trying to actually do.