hmmm... well, here's the context - I have a repeat control that displays a list of documents. The csjs is used so the user can select/deselect documents in the list. I store the id of the document in an array using innerHTML because when I tried to store it with field.value = arrayval, the field didn't show the result on the page. The "field", btw, is an edit box. I'm using display:none to hide it from the user.
The select/deselect must use csjs because I don't want to make a trip to the server. I was originally storing the id's in a sessionScope var, but it was taking 30 seconds to update it with each click. The csjs is practically instant if I can only get the id's for processing from the serverside.
I just tested it again... field.value = arrayval doesn't do anything. Am I missing something?
btw - The page does not have a document data source. The edit box for storing my array is just defined with javascript default value "".