I have a question in a code that uses advpl (Microsiga Protheus) plus HTML.
I need in the html part, that the content of a TD is captured at the time of writing, and is assigned in another TD. Here is the screenshot plus the code snippet:
Inthiscase,whencollectingtheNotekey,autocompletetheNFnumberandserialnumberbytakingtheSUBSTRING26.9nfnumberand23.3NFSeries.
htmlcode
<CENTER><fontface="Arial" size="2" color="#ff0080"><b>REGISTRO DE NF DE SAIDA</b></font></CENTER>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#F3F3F3" width="400" id="AutoNumber10">
<tr>
<td width="120"><font face="Arial" size="2" color="#000080"><b> Chave Da NF:</b></font></td>
<td width="161"><input type="text" name="T2" size="44" MAXLENGTH="44" onblur="jscript:valida(this.value);"></td>
</tr>
<tr>
<td width="120"><font face="Arial" size="2" color="#000080"><b> Numero NF:</b></font></td>
<td width="161"><input type="text" name="T3" VALUE=" " size="6"></td>
</tr>
<tr>
<td width="120"><font face="Arial" size="2" color="#000080"><b> Serie NF:</b></font></td>
<td width="161"><input type="text" name="T4" VALUE=" " size="3"></td>
</tr>
<tr>
<td width="120"><font face="Arial" size="2" color="#000080"><b> Status:</b></font></td>
<td width="161">
<select size="1" name="STATUS">
<option value="S">1= Saída na Portaria</option>
<option value="D">2= Devolvido para Estoque</option>
<option value="C">3= Cancelamento Cliente</option>
</select>
</td>
</tr>
</table> <br>
<button name="B1" type="none" onclick='jscript:validaall()'>> Confirma <</button>
</center> <br>
<center><a href='H_W10_03_NOVO.APL'><i><b>Voltar ao Menu</b></i></a></center>
</div>
</td>
</tr>
</table>
</center>
I would like to thank you for the help.