如何使用CSS隐藏按钮的值?
例如:
<input type="submit" value="Foo" />
<input type="submit" value="Bar" />
如何隐藏具有value="Foo"
答案 0 :(得分:2)
答案 1 :(得分:1)
使用css属性选择器可以实现:
WITH XMLNAMESPACES ('uri' as sii)
SELECT TOP 1 ID as 'sii:ID'
,[NAME] as 'sii:FULL_NAME/sii:NAME'
,[SURNAME] as 'sii:FULL_NAME/sii:SURNAME'
,[PRICE] as 'sii:PRICE'
FROM [dbo].[EMPLOYEES]
FOR XML PATH('sii:Envelope'), ELEMENTS
答案 2 :(得分:1)
更新样式更多了解css attribute selectors
input[value="Foo"] {
display:none;
}
input[value="Foo"] {
display:none;
}
<input type="submit" value="Foo" />
<input type="submit" value="Bar" />