0

下面的代码在除 IE 之外的所有浏览器中都能完美找到。我只在 IE 中看到的问题是电子邮件没有预先填充在输入字段中。我正在使用 jquery 1.4.2。我的猜测是 jquery 1.4.2 的一些内置函数与 IE 不兼容。

相同的代码适用于 jQuery 1.7。不幸的是,我受到使用 jQuery 1.4.2 的限制(因为在所有站点上坚持使用 jQuery 1.4.2 是企业范围内的决定),所以我无法升级到最新的 jQuery 并修复这个问题。还有其他可以使用的解决方案吗?

tempLogin.filter('H4').html("ACCOUNT").end()
    .filter('p').html("There is already a " + siteVarObj(C.options.siteCode).siteName + " account associated with this email address.<p>Please enter your password to login.</p>")
    .end()
    .filter('.hsImages').html("");

pageHs.find('input#aim_Email').val(C.options.email).end()
    .find("input#aim_Password").focus();

finalTemplate = pageHs.find(".hsPlaceHolder").html(tempLogin);
C.options.currentPage = finalTemplate;
C.setPage('hsTemplate');
4

0 回答 0