简体   繁体   中英

Invalid input type tel

I am using an input type tel on a label control. It works fine on my local machine but when deployed on server it gives me error as below. Any pointers on what i am missing here.

在此处输入图片说明

Your server is using a different (older) version of ASP.NET/.NET Framework. You should either upgrade the runtime if possible or ask the host to do that for you.

Otherwise the only solution for you would be to use a regular input and then enforce the mask with JavaScript.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM