Hi

I am trying to make a form to put on a web site that when the user enters the data into the fields and presses the submit button the info in the fields is stored in a cookie so that the next time you visit the site the fields are already filled with their name. I have seen various examples of this and even one on this site but it uses an alert box, which I don't want to use.

I was wondering if anybody would be able to give me the easiest way in which I could do this?