wballz
10-19-2004, 07:53 AM
Is it possible??
I would use a long string with commas separating each value, but i want to be able to change the values contained in the array/string in a javascript onclick event. Now as i understand it you can't pass variables by reference into javascript functions so i have to resort to using an array, but after altering the data in the array i want to be able to pass it in the querystring.
e.g. pagetogoto.cfm?GroupList=#GroupList[]#
when i try this i get the error, "Complex object types cannot be converted to simple values" but GroupList is already defined as an array so the command GroupList=#GroupList[]# or GroupList=#GroupList# should work....
Oh one other thing (which i may make a new thread for), how can i link to a bookmark/anchor when i am using a query string in the URL.
I have tried the following...
e.g. pagetogoto.cfm?Variable1=#data#&Variable2=#data2###bookmark
pagetogoto.cfm?##bookmark&Variable1=#data#&Variable2=#data2#
pagetogoto.cfm##bookmark?Variable1=#data#&Variable2=#data2#
none of these seem to work... is it possible?
I would use a long string with commas separating each value, but i want to be able to change the values contained in the array/string in a javascript onclick event. Now as i understand it you can't pass variables by reference into javascript functions so i have to resort to using an array, but after altering the data in the array i want to be able to pass it in the querystring.
e.g. pagetogoto.cfm?GroupList=#GroupList[]#
when i try this i get the error, "Complex object types cannot be converted to simple values" but GroupList is already defined as an array so the command GroupList=#GroupList[]# or GroupList=#GroupList# should work....
Oh one other thing (which i may make a new thread for), how can i link to a bookmark/anchor when i am using a query string in the URL.
I have tried the following...
e.g. pagetogoto.cfm?Variable1=#data#&Variable2=#data2###bookmark
pagetogoto.cfm?##bookmark&Variable1=#data#&Variable2=#data2#
pagetogoto.cfm##bookmark?Variable1=#data#&Variable2=#data2#
none of these seem to work... is it possible?



