RE: [ cf-dev ] Dynamic javascript select box from function call

2003-10-27 Thread Dave Phipps
Thanks Russ, I finally manage to piece together something similar:
function addemail(journoid, jemail) {
oNewOption = new Option();
oNewOption.text = jemail;
oNewOption.value = journoid;
document.release2

RE: [ cf-dev ] Dynamic javascript select box from function call

2003-10-27 Thread Snake Hollywood
OK here is what I would do. Don't have the ID list in the hidden form field, put it in an array. When the same ID is removed from the select list, remove it from the array (null it). Then add the list of ID's to the hidden field at the end when the form is submitted. //create array Var IDLIST =