sure brad,
Seems like your collection indexes are off. Also I don't see why you would need the two if's statements. Just use the for loop is fine. like this:
<form name="PostCat" action="" method="post">
<SCRIPT language=JavaScript>
function selectUsers(from)
{
for (x = 0;x < from.length;x++)
from.options[x].selected = true;
}
</SCRIPT>
<SELECT multiple size=10 name=AuthUsers>
<OPTION value=1>Test 1</OPTION>
<OPTION value=2>Test 2</OPTION>
<OPTION value=3>Test 3</OPTION>
<OPTION value=4>Test 4</OPTION>
</SELECT>
<p><INPUT onclick=selectUsers(document.PostCat.AuthUsers) type=button value="Edit" name=SubmitButton>
</form>
- Alan
www.iamviet.com
Snitz Resource