Zur Erklärung:
Form -> Name "editor"
Inputfeld -> Name: "tos"
Komplettes Script:
Form -> Name "editor"
Inputfeld -> Name: "tos"
Komplettes Script:
Code:
function SetUser(ID){ if(opener.document.editor.tos.value == ""){ opener.document.editor.tos.value = ID; } else{ opener.document.editor.tos.value += '; '+ID; } }
Kommentar