bertembra
05-25-2009, 07:26 PM
Hi,
Pritty simple question but just cant get my head round it.
Im passing the var "num" to my function and just want to add it to the end of a DOM element:
E.g.
num = 1;
newNum=document.forms[0].NUM + num;
So it should point to the ID NUM1, but it doesn't :(
Any help appreciated!
Thanks
Rob
Pritty simple question but just cant get my head round it.
Im passing the var "num" to my function and just want to add it to the end of a DOM element:
E.g.
num = 1;
newNum=document.forms[0].NUM + num;
So it should point to the ID NUM1, but it doesn't :(
Any help appreciated!
Thanks
Rob