By: MarceloReborn
Date: 2009-11-26
Time: 14:46
|
Select Box error when applying "selected"
It works:
<select name="VEN_CLI_CODIGO_FK" size="1" id="VEN_CLI_CODIGO_FK">
<option value="[blk_combo_cliente.CLI_CODIGO_PK]">[blk_combo_cliente.CLI_NOME;block=option]</option>
<option>[onshow.iid;ope=html;select]</option>
</select>
|
But this, don't:
<select name="VEN_CLI_CODIGO_FK" size="1" id="VEN_CLI_CODIGO_FK">
<option value="[blk_combo_cliente.CLI_CODIGO_PK]">[blk_combo_cliente.CLI_NOME;block=option]</option>
<option>[blk_editar.VEN_CLI_CODIGO_FK;ope=html;select]</option>
</select>
|
|
By: MarceloReborn
Date: 2009-11-26
Time: 14:48
|
Re: Select Box error when applying "selected"
That tech doens't work with blocks?
They have the same value, onshow.iid = blk_editar.VEN_CLI_CODIGO_FK
|
By: Skrol29
Date: 2009-11-27
Time: 21:57
|
Re: Select Box error when applying "selected"
Hi Marcelo,
The second snippet doesn't work probably because "blk_editar" is merged before "blk_combo_cliente". The parameter "select" can work only if items has been merged previously.
|
|
Posting in progress.
Please wait...
|