Having trouble with a new drop-down row in a form. The drop-down is only showing in the first cell, even when using colspan=5
.
Is there a better way to achieve this? Thank you for any help.
<table cellspacing=0 cellpadding=7 border=1>
<tr bgcolor=#efefef>
<td></td>
<td>Date</td>
<td>DATA</td>
<td>MORE DATA</td>
<td>Method</td>
</tr>
<tr>
<td>
<button onclick="javascript:showElement('abcdata')" style="padding:4px" class=verd8> SHOW NEW ROW </button>
</td>
<td>Jan 22, 2022</td>
<td>SOME DATA</td>
<td>SOME MORE</td>
<td>BUTTONDROP</td>
</tr>
<tr id="abcdata" style="display:none;">
<td colspan=5>
SHOW NEW ROW ACROSS ALL CELLS : sfdgsdfgs hlahhfa la dfl dfljhsd flhsd flhsdf lhdsfh asf alhd a</td>
</tr>
<tr>
<td colspan=5>
ADDED THIS tr/td IN EDIT : NOTHING HIDDEN.... DOES IT SHOW ALL ACROSS?? YES IT DOES
</td>
</tr>
</table>