I am having a problem with getting the value of a set Cookie into my
input. I have tried onSubmit / onClick and have been looking at
functions to define the cookie, but I am very new at writing code.
Does anybody have any insight on how to correct this?
Thanks
<input type="hidden" name="sender_email" value=????? size="50" />
last futile attempt:
value=getCookie('SenderEmail')
Mark Space - 23 Feb 2008 01:02 GMT
> I am having a problem with getting the value of a set Cookie into my
> input. I have tried onSubmit / onClick and have been looking at
[quoted text clipped - 7 lines]
> last futile attempt:
> value=getCookie('SenderEmail')
Are you writing Java or Javascript? Can you show us your JSP source or
the servlet source you are using?
Hal Rosser - 23 Feb 2008 01:16 GMT
>I am having a problem with getting the value of a set Cookie into my
> input. I have tried onSubmit / onClick and have been looking at
[quoted text clipped - 7 lines]
> last futile attempt:
> value=getCookie('SenderEmail')
Try this site
http://www.w3schools.com/js/js_cookies.asp
Roedy Green - 23 Feb 2008 02:35 GMT
><input type="hidden" name="sender_email" value=????? size="50" />
<input has nothing to do with cookies. This generates a HTTP GET or
POST.
See http://mindprod.com/jgloss/cookie.html
http://mindprod.com/jgloss/http.html
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com