I\'m trying to build a game where a user will select one of the 6 divs displayed to him. Here I want to perform two operations, first is to get the index of the div that was