|
-
Aug 27th, 2004, 02:57 AM
#1
Thread Starter
Addicted Member
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
Last edited by señorbadger; Aug 28th, 2004 at 01:31 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|