ppypp伦理天堂,91手机在线视频,免费在线观看黄色毛片,夜夜穞天天穞狠狠穞AV美女按摩

聯系官方銷售客服

1835022288

028-61286886

投訴 解決中 / 已回 如何循環input標簽給input標簽里面的index一個數值? 1 0
POSCMS版本:

如何循環input標簽給input標簽里面的index一個數?比如循環出四個input標簽時,那么index里面的值為(第一個index="0";第二個index="1";第三個index="2";第四個index="3")

<div class="mkcf_con">

<form id="kaoshi" method="post">

{if $dxldcdnr}

{list action=module module=danxuanti IN_id=$dxldcdnr}

<div class="mkcf_single" >

<p class="mksg_tt">

{$key+1}.{$t.title}

</p>

<div class="mksg_ans" >

{php $fenzhi =dr_string2array($t.fenzhi);}

{loop $fenzhi $t}

<label>

<input type="radio" name="dan{$key+1}" value="{$t.value} " index="" class="sg_radio"/>

<span class="sg_num"></span>

</label>

{/loop}

</div>

</div>

</div>

{/list}

{/if}

</div>

解決方案