Problem with TEXTAREA in some browsers
Not a java programmer. I have been struggling with copying data between two TEXTAREAs. I am trying to copy everything from textarea1 to textarea2.
var a = document.getElementById("textarea1");
var b = document.getElementById("textarea2");
if (a != null)
b.value = a.value;
This routine works perfectly in my HTML-Kit developer/browser and IE, but will not work in Firefox, Opera. I know that it is hitting the function because it hangs there and the next function doesn't execute (disabled buttons never enable). Does anyone know a solution for these two browsers?