I'd like to set the variable player to the value "Leno Morales", which is also a value in my HTML table.
How do I concatenate the table value to my javascript?
Also, if I would like to change the player value based on the table value, how would I go about doing this?
At the moment, I have:
<tr onmouseover="this.style.backgroundColor='#ffff66';"
onmouseout="this.style.backgroundColor='#d4e3e5';"
onclick="location.href='#individualwellness'">
<td>
<script>
var player = Leno Morales
</script>
</td>
<td>
RA
</td>
<td>
Injured
</td>
</tr>