Fixed Firefox
Last week I complained I was Undone by Firefox. Seems my guesbook form on our website didn't work in Firefox. I've investigated it and fixed it.
Turns out my first assumption that the ASP script was the problem was wrong. ASP scripts are run on the server, just called by the browser. Then I checked two other forms on our site and they worked in Firefox!
So there was some code in that form throwing Firefox off. I ran a HTML validator and fixed some minor tag-labels. Then I tried changing some other things, but still it didn't work. Then I took the form section from one of the other webpages and dropped it in...still didn't work. Finally, I copied one of the other forms, pointed it to the correct ASP script, then slowly modified it and tested it until I had replicated the original webpage/form while ensuring it works.
I know code-monkeys do this kind of thing all the time, but I was a little distraught recreating the same exact webpage and have it work. What was the difference? Who knows.





0 Comments:
Post a Comment
<< Home