In html, how does one trigger different types of keyboards in iOS? -

Source: Internet
Author: User
For example, the input email contains @ and. the keyboard of zhihu, such as the logon box on zhihu homepage or the number entered, is the jiugongge digital keyboard. For example, if you enter an email, @ and. the keyboard on the zhihu homepage.
Or enter a number, which is the reply content of the jiugongge digital keyboard: the iOS Webkit kernel supports some special input types, such as email, number, and url,
In addition, there are options such as autocorrect and autocapitalize.

Refer:
  • Apple official development documentation: http://developer.apple.com/library/safari/#documentation/appleapplications/reference/SafariHTMLRef/Articles/InputTypes.html
  • Introduction to iOS HTML input Keyboard: http://sja.co.uk/post/controlling-which-ios-keyboard-is-shown
Someone has answered the question about how 'type' is used to change the keyboard layout. I want to add a method that uses 'appearance 'to bypass the 'type' restriction:
Http://jsfiddle.net/chrisyipw/rCFcG/ If the type is search, you need to put the input in a form with an empty action, for example:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.