In the Bootstrap pop-up box, the input box at the upper layer of modal cannot obtain the solution to the focal point problem.

Source: Internet
Author: User
Tags use definition
This article mainly introduces how to solve the problem that the input box at the upper layer of modal cannot obtain the focus in the Bootstrap pop-up box, which has some reference value, if you are interested, you can refer to the Bootstrap pop-up box and the input box on the modal layer cannot obtain the focus. The details are as follows:

1. In the Bootstrap framework, the modal pop-up box currently only supports one layer.

That is, you cannot use the modal pop-up box in the current pop-up box.
If you use a custom pop-up box such as: http://my.oschina.net/tianma3798/blog/737232
If the custom pop-up box contains an input box, if the input box cannot obtain the focus, the possible reasons are as follows:
Many use definition pop-up layers

×Add School

Save Close

The solution is to remove the tabindex = "0" attribute and then obtain the focus.

For more information about how to solve the Focal Point Problem in the input box at the upper layer of modal in the Bootstrap pop-up box, refer to the PHP Chinese website!

Related Article

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.