I am trying to figure out how to get the value of a button using JavaScript. There are several buttons generated using a while statement in php code, so the name an
name
try something like