0

common.org.js has issue with IE10

asked 2013-07-24 21:26:02 +0800

CC2FF gravatar image CC2FF
1

The following code causes "Invalid Object Calling" error in IE10 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
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
2 followers

RSS

Stats

Asked: 2013-07-24 21:26:02 +0800

Seen: 7 times

Last updated: Jul 24 '13

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