0
我有一个表单域/复选框,即使选中它也无法传递布尔值。无法传递布尔值
<input type="checkbox" name="IsContactValid"
id=" IsContactValid"
<cfif
ContactView.GetIsContactValid()>CHECKED
</cfif>>
that will be transmitted to the receiving form if the box is checked.
请帮忙。
'checked =“checked”'对于更新的HTML标准更有效。 – ale 2010-01-08 19:10:50
我不会说“更有效”。本身检查是适用于HTML 4.01和5. – Henry 2010-01-08 19:32:58
是的,但在这种情况下CHECKED自己没有工作。 – vas 2010-01-08 20:05:31