asp.net mvc - select2, mvc and html5 -


we using select2 dropdown in our website. website going responsive , while select2 awesome control, not turn native control on mobile using html5. i.e.: html5 tag date bring native mobile calendar, different android ios, , more user-friendly. have same feature our dropdowns. since select2 not include select tag in markup, not possible. anynody have suggestion control satisfy these needs? used programming environment asp.net mvc thank you

--edit-- select2 typical markup:

<div class="select2-container" id="s2id_step1generalinfo_isgweinclusive" style="width: 100%;">     <a href="javascript:void(0)" onclick="return false;" class="select2-choice" tabindex="-1">        <span><table cellpadding="0" cellspacing="0">                 <tbody>                     <tr>                         <td class="labelselectedoption"></td>                         <td class="selectedoption">inclusive</td>                     </tr>                 </tbody>              </table>        </span>        <abbr class="select2-search-choice-close" style="display: none;"></abbr>           <div><b></b></div>     </a><input class="select2-focusser select2-offscreen" type="text">  </div> 

---normal select markup [now html5 ready]---

<select name="select">    <option value="value1">value 1</option>     <option value="value2" selected>value 2</option>    <option value="value3">value 3</option> </select> 

the second markup reacts on mobile devices popping device's control. first 1 not


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -