I create dynamic a table with <tr> and <td> tags. One of the td tags gets the id "detailInfo". I have an onclick function on some button. I would like to set some value in the td "detailInfo" after pressing on the button.
So how can I set the value of the td with id "detailInfo" ?
This is the td:
<td id="detailInfo" rowspan="2" width="300px">picture detail</td>
tdtags doesn't have value. Are you trying to append some text?