I have the following code line:
<td border="1" onClick="myFunction()">
I am trying to do the following to be able to receive a value in the function myFunction (variable).
<td border="1" onClick="myFunction(variable)">
But you send me the following error:
is not defined at HTMLTableCellElement.onclick