window event is not working in FireFox

forcer

New Member
I am using this function to write and display the text on the same page which is working perfectly in all browsers except "FireFox". Any Idea or helping material ?Thanks in advance ! \[code\]function handleEvent(myEvent) { myEvent = myEvent || window.event; var FirstTextbox = myEvent.srcElement || myEvent.which; var SecondTextbox = document.getElementById("companynamefield"); SecondTextbox.value = http://stackoverflow.com/questions/9601150/FirstTextbox.value; document.getElementById("comapnynameshow").innerHTML =FirstTextbox.value; }\[/code\]
 
Back
Top