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.
我在一行中有两个下拉菜单。我想显示由两个下拉列表组成的第二行,这些下拉列表将使用meteor.js 中的jquery fadeIn() 命令显示第一个下拉列表的变化?
要使第二个下拉列表在第一个下拉列表的 onchange 时可见, 您可以在模板事件属性中执行此操作。使用事件属性,您可以将函数绑定到事件(如 jquery),这些事件将在发生绑定事件时执行。
看看http://docs.meteor.com/#templates