Hello all, <BR><BR>I&#039m working on a ASP script that will pass a server-side (VBScript) array to a client-side (javascript) function. <BR><BR>First I declare and initialize the array: <BR><BR> Dim aLdrs(4) <BR><BR> aLdrs(0) = "5" <BR> aLdrs(1) = "Doe, John" <BR> aLdrs(2) = "555-123-1234" <BR> aLdrs(3) = "j-@yahoo.com" <BR><BR>Then I create a form with a single listbox. When the listbox&#039s selection changes, I want to pass the array to the javascript<BR>function like this: <BR><BR>&#060;.SELECT NAME="mySelect" onChange="swapLdrID(&#060;%=aLdrs%&#062;);"&#062; <BR><BR>But I&#039m getting the following error: <BR><BR> error &#039ASP 0106 : 80020005&#039 <BR> Type Mismatch ? An unhandled data type was encountered. <BR><BR>Is it possible to pass an entire array this way? If so, what is the syntax? Or, is there a better way to approach this? <BR><BR>Thanks, <BR>Gabby