HTML文本输入撤消不工作 [英] Html text input undo not working

查看:119
本文介绍了HTML文本输入撤消不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在的HTML文本框和文本方面的问题,其中撤消功能(包括CTRL + Z,然后右键单击>撤销)被禁用。这是发生在从ASP.NET生成的网页,并包含了大量的Silverlight,JavaScript中,jQuery和阿贾克斯。它发生的时间大约90%的撤销工作确定10%的时间。它只查看IE中的页面(8 + 9),它工作在Chrome,Opera和Firefox。

I'm having a problem where the undo function (both ctrl+z and right click > undo) of html text boxes and text areas is being disabled. This is happening on pages generated from ASP.NET, and which incorporate a lot of Silverlight, JavaScript, JQuery and Ajax. It happens about 90% of the time, 10% of the time the undo works OK. It only happens when viewing the page in IE (8 + 9), it works fine in Chrome, Opera and Firefox.

这不是一个真正实用的,我张贴code就在这里,因为有这么多了,问题可以在它的任何地方深深埋葬。我更想知道有没有人遇到过这一点,或者如果它是一个已知的问题。任何人都可以提出任何可能指向我的方向是正确的?

It's not really practical for me to post the code on here, as there is so much of it and the problem could be burried deep anywhere in it. I'm more wondering if anyone had come across this before, or if it is a known issue. Can anyone suggest anything that might point me in the right direction?

推荐答案

你有任何页面上的JS计时器。即使它们不更新特定控制它们可以引起控制历史到被擦拭。我怀疑这是在IE浏览器中的错误。

Have you got any JS timers on the page. Even if they don't update the particular controls they can cause the control history to be wiped. I suspect it's a bug in IE.

这篇关于HTML文本输入撤消不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆