D
David
Hey,
I'm not quite sure where to post this, but I believe this is the most
appropriate place. I have a page I am creating that does a submission
within a hidden IFRAME every time someone adds an item to the shopping cart.
In this way, the entire page doesn't need to submit, only a hidden IFRAME,
and I can make sure that if the user decides to hit the back button at any
time, or even browse away from the page and come back, their shopping cart
will still be up to date and available for them to continue where they left
off. The way I accomplish this is by converting my shopping cart into a
text format that seperates the different information with \n characters (a
line-feed character), places the string into a TEXTAREA and submits the form
that is within the hidden IFRAME. Now, with IE6, when this gets submitted
and returned, the return comes back inside the TEXTAREA field, and all the
\n characters (line-feeds) get replaced with \r\n characters (carriage
return line feed). Unluckily, with Firefox, the return value is two \n
characters (\n\n). So, I figured I'd just try seperating with a \r\n to see
what happened. IE6 comes back with the same (\r\n) whereas Firefox returns
\r\n\n. Does anyone know how I can get around this issue? If I am posting
this in the wrong place, please direct me where this post should be.
Thanks,
David
I'm not quite sure where to post this, but I believe this is the most
appropriate place. I have a page I am creating that does a submission
within a hidden IFRAME every time someone adds an item to the shopping cart.
In this way, the entire page doesn't need to submit, only a hidden IFRAME,
and I can make sure that if the user decides to hit the back button at any
time, or even browse away from the page and come back, their shopping cart
will still be up to date and available for them to continue where they left
off. The way I accomplish this is by converting my shopping cart into a
text format that seperates the different information with \n characters (a
line-feed character), places the string into a TEXTAREA and submits the form
that is within the hidden IFRAME. Now, with IE6, when this gets submitted
and returned, the return comes back inside the TEXTAREA field, and all the
\n characters (line-feeds) get replaced with \r\n characters (carriage
return line feed). Unluckily, with Firefox, the return value is two \n
characters (\n\n). So, I figured I'd just try seperating with a \r\n to see
what happened. IE6 comes back with the same (\r\n) whereas Firefox returns
\r\n\n. Does anyone know how I can get around this issue? If I am posting
this in the wrong place, please direct me where this post should be.
Thanks,
David