In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
Today, I will talk to you about how to use JS to achieve IE8 browser input input numbers, many people may not quite understand, in order to make you better understand, the editor summed up the following, I hope you can get something according to this article.
Deal with the limitations of a form today, and then test that the input input box can enter characters other than numbers. At that time, I strongly condemned the various versions of the IE browser in spirit.
After my test, I found that Google and other browsers are fine, but not IE browsers, and then think that it is better to use JS directly, and it is not prone to incompatibility problems.
The code here has made a lot of changes, because your project is used with other plug-ins, so you don't need to be so troublesome now.
The method is easy to use. Here are some parameters.
1. Data-cgldigits: decimal places, starting with 0 [default is 0]
2. Data-cglpone: whether negative numbers are supported by yes and not by no [default is no]
3. Data-cglzero: whether 0 is displayed when the value of input is 0. Yes shows that no is not displayed [default is yes]
Here is the use of html
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.