[thelist] dynamic javascript loop help

Chris Heilmann lists at onlinetools.org
Tue Jan 18 07:34:33 CST 2005


> You need quotes around your strings. Try this
> nDatarow = "datarow_" + a + "_col_" + f;
> nValue = "row_" + a + "_col_" + f;
> theform.nDatarow .value = document.getElementById(nValue).innerHTML;


Have you tried that? In more browsers than IE? The question was answered
properly about three times already.


-- 
Chris Heilmann
http://icant.co.uk/ | http://www.onlinetools.org/



More information about the thelist mailing list