我正在尝试在客户端Jade模板中实现搜索栏模板。
table.SearchBar(cellpadding="0", cellspacing="0")
tr
td.SearchCell
div.SearchIndicator(id="SearchIndicator_#{eId}")
input.SearchText.Initializing(id="SearchText_#{eId}", type="text", placeholder="gathering contacts list...")
-if(parentName === "Contacts")
td.SearchCell(style="width: 100px;")
button.PresenceButton(id="PresenceButton_#{eId}")
input.PresenceCheckbox(type="checkbox", name="Presence", id="PresenceCheckbox_#{eId}")
p.PresenceLabel online only?
在Chrome&& Firefox,一切都很好。在IE 9中,只有复选框根本无法呈现,不会出现在Web检查器中,并且它的缺失也会在以后的脚本中导致错误。
这是在扼杀我。有什么想法吗?
答案 0 :(得分:1)
呃......您无法在Internet Explorer的 BUTTON 元素中放置 INPUT 元素。