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 中使用焦点事件进行一次验证。喜欢
$("#A").focusout(function () 这里'A'是文本框的ID
$("#A").focusout(function ()
该函数包含一组语句。我需要为另一个文本框的焦点输出函数调用相同的函数。我怎么能这样触发?请帮助我提前谢谢
这应该可以帮助您:
$("#myTextBox").trigger("focusout");