I'm try to set up a hidden variable that takes the value of an input:
Expand|Select|Wrap|Line Numbers
- bFINALTEXT1 = document.createTextNode("Final:");
- bFINAL1 = document.createElement("input");
- bFINAL1.style.width="5em";
- bFINAL1.type="text"
- bFINAL1.name=compXY+'comp[]';
- //bFINAL1.onblur=function(){getfinal(this.value);};
- bMAX1 = document.createElement("input");
- bMAX1.type="hidden"
- bMAX1.name=compXY+'comp[]';
- //
- bMAX1.value=bFINAL1.value
Any ideas?
Thanks in advance