【发布时间】:2010-03-17 20:03:24
【问题描述】:
这听起来很奇怪,但我有这个鳕鱼,我需要将它转换为复选框,具有相同的功能
<select onchange="document.getElementById('reasonDiv{$test->id}').style.display = '';
document.getElementById('reason{$test->id}').value = this.value;" name='reasonId{$test->id}' id='reasonId{$test->id}'>
<option value=''>Test</option>
{foreach item=test from=$testtmp.6}
<input type="checkbox" value='{include file='testen.tpl'
blog=$test1 member=$test2 contents=$test->contents replyId=$test->predefinedreplyid }' label='{$test->predefinedreplyid}'
{if $test->predefinedreplyid==$test1->declineId}selected="selected"{/if}>{$test->subject}</option>
{/foreach}
</select>
我该怎么做?感谢您的帮助
【问题讨论】:
标签: php javascript jquery html smarty