openPopup()-function的第一个参数是弹出窗口的内容。第二个参数是回调函数,它将绑定到提交按钮上的单击事件。问题是:如果回调函数有一些参数,它们就不会传递给eventHandler。在这个例子中,它是参数"formData": // put content inside the popupformData.append("value",&quo
我有这样的代码:module.exports = function() { Here I need to find out the path of module in whichthis function was called.};var A = require('./A.js');
C.js有没有可能