In that case, I put 1 2 3 in each input and it only shows number 3. How can I fix it? I'm sorry if it's a stupid question but I really don't know.
function WriteCookie()
{
cookievalue= document.myform.firstname.value+";";
cookievalue1= document.myform.memory.value+";";
cookievalue2= document.myform.half.value+";";
cookievalue3= document.myform.lose.value+";";
document.cookie=cookievalue;
document.cookie=cookievalue1;
document.cookie=cookievalue2;
document.cookie=cookievalue3;
alert(document.cookie);
}