Hi,
I've been asked to build a form that includes a 7 x 3 gride of status icons. For this fairly heavy grid, my ideal case would be that each icon in the grid is a button that can be clicked, and that doing so cycles that icon through red, amber, green statuses.
I'm familar with using buttons to trigger javascript functions. My question is, how can I access the button properties with my javascript function to update the image src url? The three status icon urls can be hardcoded, so it's just a matter of iterating over those urls on click.
Many thanks!