Javascript Loop Through Objects <Resovled>
hello people i have a problem
out of a database im entering items into a rich textbox javascript control. On the page i am giving each textbox a name such as "txtbody" and with the article id number on the end
ie so an example name would be txtbody1 if you were editing article 1
the control requires me to update using the following javascript command
updateRTE(txtn);
(txtn) being the textbox name
so basically how can i make this work
var frm = document.frmedit;
frm."conceptRTEvalue"+ctls[i].value = frm.'content'+ctls[i].value;
the conceptRTEvalue is a hidden field
ctls is an array populated by spliting an argument which contains the ID numbers
content is the rich text box
hope i have explained this ok, and thanks for your help
Senorbadger