Organizational Research By

Surprising Reserch Topic

how to Setting cookies with form input?


I am trying to make a username cookie using the users input to a web form do you know what the problem is?


asked May 24, 2015 in JAVASCRIPT by rajesh
edited May 24, 2015 by rajesh
0 votes
72 views



Related Hot Questions

2 Answers

0 votes
Change in the  form :





And storeValues(form) function to:

{
   setCookie("userName", form.nameBox.value);
   return true;
}
answered May 24, 2015 by rajesh
0 votes
You can check below code, it might help you.



    



 
 




answered May 24, 2015 by rajesh

...