|
I have two variables (both numbers) and I want to write their values into one text input field... doing it like document.forms[1].trim1.value = ... two values, separated by a space. How do I do this? Thanks Edit: If I have it as .value = [variable1, variable2] it sort of works.. displays it as the two numbers simply separated by a comma. But I want to replace that comma with a space (if I simply take out the comma, it breaks). Edit2: I'm stupid... .value = variable1 + ' ' + variable2
Last Edit: Jun 11, 2010 0:12:55 GMT by perishingflames
|
|
|
|
|