This is the JavaScript that is errored on in IE but works in FF (error - \"document.getelementsbyname(...).0.innerhtml is null or not an object\":
var oldVal =
GetElementByName functions differently across different browsers. I suggest you access your elements using jQuery.