0
Handling different browsers
Explorer
,
/t5/coldfusion-discussions/handling-different-browsers/td-p/6642
Jan 26, 2009
Jan 26, 2009
Copy link to clipboard
Copied
I have using a form to pass data to an action page, with
method set to "post" . everything is working fine in IE8 and
Firefox, however when I use safari I can see the data are passed in
the URL and I am getting the error that name is not defined in
form.
If I use a different code in the action page like
#URL.name# instead of #form.name#
then safari is working fine.... but I am getting the error from IE8 and Firefox that name is not defined iin URL.
I think I need a code to validate the browser and execute the right version of the code, any simple ready to "paste" code around here??
Thanks.
If I use a different code in the action page like
#URL.name# instead of #form.name#
then safari is working fine.... but I am getting the error from IE8 and Firefox that name is not defined iin URL.
I think I need a code to validate the browser and execute the right version of the code, any simple ready to "paste" code around here??
Thanks.
TOPICS
Advanced techniques
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/coldfusion-discussions/handling-different-browsers/m-p/6643#M656
Jan 26, 2009
Jan 26, 2009
Copy link to clipboard
Copied
One of your cgi variables will tell you what type of browser
is being used.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Participant
,
LATEST
/t5/coldfusion-discussions/handling-different-browsers/m-p/6644#M657
Jan 30, 2009
Jan 30, 2009
Copy link to clipboard
Copied
Hi,
You may want to validate your HTML code. The problem could also be that IE and Firefox are more "forgiving" with a HTML declaration in your code, but Safari has "rightly" a problem to interpret your code.
http://validator.w3.org/
cheers,
fober
You may want to validate your HTML code. The problem could also be that IE and Firefox are more "forgiving" with a HTML declaration in your code, but Safari has "rightly" a problem to interpret your code.
http://validator.w3.org/
cheers,
fober
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

