163邮箱编辑器和火狐不兼容,提交的时候不能上传数据
终于搞定,原来是FF里不支持attachevent,改成FF里支持的
function setLinkedField() {
if (!oLinkField) return;
var oForm = oLinkField.form;
if (!oForm) return;
//判断是否FOX
if (oForm.addEventListener) {
oForm.addEventListener('submit', AttachSubmit, false);
//firefox
oForm.addEventListener('reset', AttachReset, false);
} else if (window.attachEvent) {
oForm.attachEvent("onsubmit", AttachSubmit);
oForm.attachEvent("onreset", AttachReset);
}
}
这样改下就行了