hi all,
what im trying to do is populate the editor with a value from a listbox on double click, ive added the attributes but i cant figure out how to reference the editors ID to populate it
this is on the page_load event, obviously the editor1.text ="test"; works, but i cant get the editor to be populated
the listitem var works fine on the alert its just the putting it in the editor im having trouble with
can anyone help me out?
Thanks
- Editor1.Text = "test";
-
- var ListItem = "document.forms[0]['" + FieldsList.ClientID + "'].value";
-
- FieldsList.Attributes.Add("ondblclick", "document.forms[0]['Editor1'].Value +=" + ListItem);