0

ZK common.org.js has issue with IE10 [closed]

asked 2013-07-24 21:23:27 +0800

CC2FF gravatar image CC2FF
1

Below code from common.org.js/common.js causes "Invalid object calling" error in IE10. Please provide solution.

if (zk.ie) { zk.fixSubmit = function (n) { n.ogsubm = n.submit; n.submit = zfmsubm; }

//Step 1. Override document.createElement
zk._newElem = document.createElement;
document.createElement = function (tag) {
    var n = zk._newElem(tag);
        //we cannot use zk._newElem.apply. Reason unknown.
    if (tag.toUpperCase() == "FORM")
        zk.fixSubmit(n);
    return n;
};

}

delete flag offensive retag edit

The question has been closed for the following reason "duplicate question" by sjoshi
close date 2013-07-25 05:15:52

Question tools

Follow
1 follower

RSS

Stats

Asked: 2013-07-24 21:23:27 +0800

Seen: 8 times

Last updated: Jul 24 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More