-1
I need to create a input
within a cell of a table
using Javascript. I created a tag <a>
with name="ex2"
<tr><p>
<td id="secTd"><label for="cAp"><a id="num">02</a> <a id="texto">Time</a></label></td>
<td id="tecTd"><a name="ex2"></a></td>
</p></tr>
And I’m using this Javascript code to write "val1" inside this tag.
document.getElementById("exibe1").innerHTML = "val1";
No error message appears, same thing if I try with a input
.
I tried to translate, but the question seems to me to make no sense.
– Jéf Bueno