Hi all
Stupid problem, I know the obvious answer to but I would like other people's thoughts.
I have a javascript/dhtml script for palette selection (6 colours in total)
However when people make their selection, the value for each colour change, but the text box name (for passing to another page) is the same name
eg of the code returning the colours is below
function rg2html(z){return \"<input name=cl type=text class=colour_form value=#\"+d2h(z.r)+d2h(z.g)+d2h(z.b)+\">\";
what I am wondering is, is there anyway I can use the above code to concatonate all variables, into a single string, then split the string apart on the next page. My main problem is if I try to do this, the value of $cl is always the last rgb value.
Does my problem make sense, or does anyone have any ideas or pointers?
regards