Hey i dont know if that is possible but i want to set a given variable in js by reference.
What i want to do is, that each time i pass a string to t
If its a reference to an input text filed then you can use the value property
function addstring(string) { document.getElementById("string").value += string.value; }
See value