kendo ui - Trying to create a text input with an attached button -


i'm trying create textbox attached button looks similar kendo datepicker or numerictextbox. close, doesn't quite line up. straightening appreciated.

<style>     .unselectable     {         -moz-user-select: -moz-none;         -khtml-user-select: none;         -webkit-user-select: none;         -ms-user-select: none;         user-select: none;     } </style>  <span class="k-widget k-datepicker k-header" style="width: 136px">     <span class="k-picker-wrap k-state-default">     <input class="k-input" type="text" name="searchparam" id="searchparam" placeholder="name ..." />         <span class="unselectable k-button k-select">             <img class="unselectable" src="~/images/search_flashlight_16.png" />         </span>     </span> </span> 

everything should need this: see jsfiddle demo

<span class="k-textbox k-button k-space-right">     <input value="this value" />     <a class="k-icon k-filter"></a> </span> 

also see "documentation" (look @ source example) here.

edit: since asker wanted behave button (i.e. click-effect), add k-button class outter span.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -