jquery 验证定位

发布于 2024-12-25 01:45:05 字数 229 浏览 3 评论 0原文

我试图将 jquery 验证消息放置在选择框和文本框下方。我几乎让它适用于“更改时区”,但不适用于“提交”。不知道为什么标题电子邮件警报位于小提琴的中央。在我的页面上看起来不是这样。

这是小提琴: http://jsfiddle.net/ALUQB/16/

单击更改时区并提交按钮看看我的意思。

I'm trying to position the jquery validate message under the select box and text box. I've almost have it working for "Change timezone" but not for "Submit". Not sure why the header Email alerts is positioned centered in the fiddle. It doesn't look that way on my page.

Here is the fiddle: http://jsfiddle.net/ALUQB/16/

Click both the change timezone and submit button to see what I mean.

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

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

发布评论

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

评论(1

遗忘曾经 2025-01-01 01:45:05

首先,您错过了第二个标签的容器 div,您需要调整您的 position 值。这是一个修改后的示例:

修改后的工作示例

First you missed the container div for he second tag and you need to adjust your position valuues. Here is a reworked example:

Reworked Working Example

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