I'm running a profiler on a page on my site, and the function "m" is running 1.2 seconds when I type three characters into a input masked SSN field. Trying to figure out what the function is that is being called so I can find it in the code and see why it is running so long.
One thing I have noticed is that the more elements on the page, the longer it takes to run.
Here is the function from the jquery:
m = function(b, e, f, g) {
e = e || c;
if (!g && !m.isXML(e)) {
var h = /^(\w+$)|^.([\w-]+$)|^#([\w-]+$)/.exec(b);
if (h && (e.nodeType === 1 || e.nodeType === 9)) {
if (h[1]) return s(e.getElementsByTagName(b), f);
if (h[2] && o.find.CLASS && e.getElementsByClassName) return s(e.getElementsByClassName(h[2]), f)
}
if (e.nodeType === 9) {
if (b === "body" && e.body) return s([e.body], f);
if (h && h[3]) {
var i = e.getElementById(h[3]);
if (!i || !i.parentNode) return s([], f);
if (i.id === h[3]) return s([i], f)
}
try {
return s(e.querySelectorAll(b), f)
} catch (j) {}
} else if (e.nodeType === 1 && e.nodeName.toLowerCase() !== "object") {
var k = e,
l = e.getAttribute("id"),
n = l || d,
p = e.parentNode,
q = /^\s*[+~]/.test(b);
l ? n = n.replace(/'/g, "\$&") : e.setAttribute("id", n), q && p && (e = e.parentNode);
try {
if (!q || p) return s(e.querySelectorAll("[id='" + n + "'] " + b), f)
} catch (r) {} finally {
l || k.removeAttribute("id")
}
}
}
return a(b, e, f, g)
};