I have a form which contains a list box.
I have named the control $selectedproducts[].
The array is then passed to my PHP form as $selectedproducts[].
I have a javascript function which accepts an argument:
function sortproducts(sourcelist) {
.
.
.
}
The script errors when it is running. I am pretty sure it is because I am passing the array through rather than the name of the control (I could be wrong!!).
How do I fix the problem?
Please any Help!!!
TA