现在大多数智能手机都支持 JavaScript 吗?

发布于 2024-09-26 07:17:21 字数 94 浏览 5 评论 0原文

我一直以为不支持,直到昨天我用手机登录gmail。

如果忘记输入密码,我可以看到红色提示。

如果不支持javascript,那是如何实现的呢?

I've always been thinking it's not supported until yesterday I login to gmail in my phone.

I can see hints in red if I forget to input password.

If javascript is not supported,how's that implemented?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

滥情空心 2024-10-03 07:17:21

首先,大多数智能手机至少在某种程度上支持它,主要手机都很好地支持它(iPhone、Droid 等有很好的支持,例如,一些带有基于 WebKit 的浏览器的新黑莓手机)以及......我确信还有其他我不知道的)。

如果手机不支持 JavaScript,则会发生正常的非 AJAXy 行为,并且当您发布到服务器时,返回的页面具有带有红色/错误样式的元素。
无论是否使用 JavaScript,此行为均有效。

First, yes most smart phones support it at least somewhat, the major phone support it very well (iPhone, Droid, etc have very good support for example, some of the new BlackBerry phones with WebKit based browsers do as well...and I'm sure there are others I'm unaware of).

If the phone doesn't support JavaScript, normal non-AJAXy behavior happens, and when you post to the server, the page that comes back has the element styled with red/error styling.
This behavior works with or without JavaScript.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文