C
Colin Graham
hi folks,
just wonder if this is possible or is there a better way of doing
this. i need to store values in cookies between two forms. the details
are added in a popup when this is closed the main form stores these
values in hidden fields. at this point xml is built up and submitted
to a biztalk server. if there is an error the page is refreshed and
the initial values i added via the popup are lost.
my idea was to store these as cookies and populate the main form that
way if there is an error. My popup uses the following to send details
back to main form. e.g.,
window.opener.document.all.Doors.value=form1.Doors.value;
i have only ever used the following to set cookies in vbscript
<input type="hidden" value="<%=Request.Cookies("Doors")%>"
name="Doors" >
how can i set and get cookies using purely javascript ??? any examples
greatly appreciated.
Thanks in advance.
CG
just wonder if this is possible or is there a better way of doing
this. i need to store values in cookies between two forms. the details
are added in a popup when this is closed the main form stores these
values in hidden fields. at this point xml is built up and submitted
to a biztalk server. if there is an error the page is refreshed and
the initial values i added via the popup are lost.
my idea was to store these as cookies and populate the main form that
way if there is an error. My popup uses the following to send details
back to main form. e.g.,
window.opener.document.all.Doors.value=form1.Doors.value;
i have only ever used the following to set cookies in vbscript
<input type="hidden" value="<%=Request.Cookies("Doors")%>"
name="Doors" >
how can i set and get cookies using purely javascript ??? any examples
greatly appreciated.
Thanks in advance.
CG