objec.style.value setting
-
I use the script: function oedjsSetObjectValue( obj, strValue ) { var _oedjsObjS=document.getElementById( obj ); if( _oedjsObjS != null ) _oedjsObjS.value = strValue; } then I have a textbox echo ""; and call this in PHP: echo ""; but the input named 'strFormText[0]' want not set the value to '2'
-
I use the script: function oedjsSetObjectValue( obj, strValue ) { var _oedjsObjS=document.getElementById( obj ); if( _oedjsObjS != null ) _oedjsObjS.value = strValue; } then I have a textbox echo ""; and call this in PHP: echo ""; but the input named 'strFormText[0]' want not set the value to '2'
is this a typo?
tibiz wrote:
echo ""; and call this in PHP: echo "";
should it be
value=\"$strFormText[0]\" name=\"$strFormText[0]\">";
and call this in PHP:
echo "";note the variable call in the name and removed attribute code. also its been a while since i coded any php but i don't think
'$strFormText[0]'
will echo the var i think you need'"+$strFormText[0]+"'
regs, g00fy