Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当 JQuery 中的验证失败时,我试图摇动输入类型文本。请有人告诉我该怎么做。谢谢
如果你有 jqueryui,你可以
$( "#inputfield_id" ).effect( "shake" );
(将 inputfield_id 替换为您的输入字段的 id)。
单击此处以获取有关 JQueryUI 抖动的更多详细信息