fergie223
05-01-2007, 09:18 PM
is it possible to have a multi domensional cookie, ie:
cookie = documdnt.cookie
cookie[index1][index2] etc.
can i do this?
i have 10 forms, and i need each form to become an array ( its fields the arrays elements...)
i dont really mind if its POST data, or simply a cookie, and can i do this directly from the form eg method = '' action = '' etc/.
<s cript>
function implode(seperator,array){
return array.join(seperator);
}
function explode(seperator,array){
return array.split(seperator);
}
var string=implode('|',array);
</s cript>
i tryed this. can u solve my problem-thanks in advance
cookie = documdnt.cookie
cookie[index1][index2] etc.
can i do this?
i have 10 forms, and i need each form to become an array ( its fields the arrays elements...)
i dont really mind if its POST data, or simply a cookie, and can i do this directly from the form eg method = '' action = '' etc/.
<s cript>
function implode(seperator,array){
return array.join(seperator);
}
function explode(seperator,array){
return array.split(seperator);
}
var string=implode('|',array);
</s cript>
i tryed this. can u solve my problem-thanks in advance