当标签的值发生变化时,我正在使用 jquery.color.js 库中的 .animate 函数来突出显示 ASP.Net 页面上的标签。它在 IE 7.0 中工作得很好,但在 IE 6.0 中,它在页面更改位置上创建了一个按钮控件。有谁知道如何解决这个问题?
这是导致问题的 jquery 代码片段,当运行 .animate 函数时,页面上的按钮会移动位置。
ParentItem.text("$" + itemCost);
ParentItem.stop(true);
ParentItem.animate({ backgroundColor: "#FFFF80"
}, 300)
.animate({ backgroundColor: 'white' }, 1250);