我正在使用此功能在同一页面上编写和显示文本,该文本在除“FireFox”之外的所有浏览器中都能正常运行。任何想法或帮助材料? 提前致谢 !
function handleEvent(myEvent) {
myEvent = myEvent || window.event;
var FirstTextbox = myEvent.srcElement || myEvent.which;
var SecondTextbox = document.getElementById("companynamefield");
SecondTextbox.value = FirstTextbox.value;
document.getElementById("comapnynameshow").innerHTML =FirstTextbox.value;
}