following up from that...
I thought I'd be clever and try translating it back to partial rubbish-code and use the x.innerHTML='...' method, but I get "unspecified" errors in both IE and Moz.
x = document.createElement('input');
myFunction is blank, and all the quotes are in the correct positions... the code seems sound. I've had it running before by writing out the entire input tag in pure HTML using innerHTML= within a td. However, I do NOT want to have to do such an ugly thing.
Please... this really needs to be fixed ASAP, or I'm gunna get reamed!