我想要一个单击文本框的列表。
http://cohhe.com/demo/sky/sky-directory/
与上述链接中用于类别的方法完全相同。
单击文本框后应显示多个文本列表。如何实现?
我有以下代码:
<div class="searcharea col-sm-12">
<div class="col-sm-12 col-xs-12">
<div class="input-group custom-search-input" style="padding-top:290px;">
<input id="txtserach" runat="server" type="text" class="form-control" placeholder="Search By Keyword" onclick ="show()"/>
<span class="input-group-btn">
<button id="btnsearch" runat="server" type="submit" class="btn btn-warning" onserverclick="btnsearch_Click">
<span class="glyphicon glyphicon-search"></span> SEARCH
</button>
</span>
</div><!-- /input-group -->
</div>
</div>
CSS:
.searcharea{
background-image: url('https://d12dkjq56sjcos.cloudfront.net/pub/media/wysiwyg/Dubai-Skyline-Burj-Al-Arab-Big-Bus-Tours-01.17.jpg');
background-repeat: no-repeat;
background-size: 100% 100%;
/*min-height: 300px;*/
position:relative;
width: 100vw;
height: 100vh;
max-width:100%;
}