javascript - About input type="number" open number pad in mobile but how open numpad for input type="password" -


i try open number pad in mobile browser <input type="password" /> not able

when set <input type="number" /> in html page mobile browser open number pad field when viewer click on field
how can force mobile browser to open number pad input type of <input type="password" />

solution webkit browsers (displays text of number type input disc)

#numberpassword {    -webkit-text-security: disc;  }
<input type="number" id="numberpassword" />


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -