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.
我在一个相互依赖的表格中有 2-3 个列表。如果其中一个被更改,则会进行 ajax 调用并加载其他的。我想知道你们中是否有人知道使这个下拉列表 js 可降解的方法。
谢谢
你可以把它分解成多个表单,所以当第一个表单被提交时,服务器会检查然后输出第二个表单。
Javascript 将简单地覆盖提交函数并动态创建/填充其余部分。