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 简单模式,并且我尝试在其后面的代码中获取文本框的值为空
有任何想法吗?
您应该确保模态窗口附加在表单标签而不是正文标签内。
http://www.ericmmartin.com/projects/simplemodal/#options
appendTo [字符串:'body'] 将元素附加到的 jQuery 选择器。对于 ASP.NET,使用“表单”。
将元素附加到的 jQuery 选择器。对于 ASP.NET,使用“表单”。