Script says Undefined
- by user1058887
I have this script that would let the user input a text and it would get translated into something else. It works only when the word has only 1 letter. When there is more than 1 letter it says Undefined.
Here is the script :
function copyit(theField) {
var tempval=eval("document."+theField)
tempval.focus()
…