|
Because form submission and JavaScript are really difficult, y'know
Last post 10-08-2008 5:10 AM by BertBert. 20 replies.
-
10-06-2008 6:16 AM
|
|
-
pbean


- Joined on 10-06-2008
- Posts 73
|
Because form submission and JavaScript are really difficult, y'know
I was about to send a postcard to a friend in another country, so I went to visit the national post company's (TNT Post, Netherlands) web site to check on tariffs. When I got to the correct page I was presented with a drop-down box in which I had to select the type of mail I wanted to send (letters, packets, abroad, etc) and then had to press the 'Search' button. I was already confused by the caption, since it was a fairly small list and all it had to do was list some prices, nothing more. There was no search operation involved. But the surprise came when I pressed search: nothing happened. As a coder, I tried some tricks (pressing the Return key, selecting another option and the one I wanted again and try again) but nothing worked. So in a feat of brilliance I fired op Internet Explorer and copy-pasted the URL. Hey, it works! I tried some Chrome and Opera as well, but didn't work.
I decided to contact the company with the complaint that it didn't work (I was an "upset customer"). The response I got is something like the following: Dear sir,
Thank you for your reaction. You indicate that you are unable to use the tariff finder without Explorer. I understand it is annoying when you cannot proceed with your search query.
The applications that are part of the sites of TNT Post are specifically developed voor PC's which run Windows with Internet Explorer. For use of these applications the follow requirements apply: - Computer with internet access: Windows 98 or higher - Browser: Internet Explorer 5.5 or higher
The operating systems which are not supported are among others Linux and Mac OS (Apple). The browsers which are not supported are among others Mozilla-Firefox, Safari, Netscape and Opera.
I will forward your concerns to a collegue who is responsible for this. We will use your reaction to review if we can improve our services. You will not receive further feedback about this however.
Kind regards,
Customer service
And I thought we lived in 2008.
A sub-WTF is that the e-mail I received as a response did not contain the actual reply. Instead it contained a link to the website of the company where the actualy reply was displayed.
PS. The page is located here: http://tntpost.nl/voorthuis/brieven-en-kaarten/tarieven/ (warning: Dutch).
|
|
-
-
Zecc


- Joined on 06-12-2007
- Location, Location, Location
- Posts 654
|
Re: Because form submission and JavaScript are really difficult, y'know
pbean:are specifically developed voor PC's
You missed a spot. I'm curious as to how the IE specific code looked like.
If mixed metaphors were illegal, I'd be having an indigestion. typeof NaN == 'number'
|
|
-
-
Zemm


- Joined on 11-26-2007
- Gold Coast, Australia
- Posts 346
|
Re: Because form submission and JavaScript are really difficult, y'know
I've taken to tagging IE-only websites as "malware" in delicious...
|
|
-
-
DOA


- Joined on 06-26-2007
- Posts 703
|
Re: Because form submission and JavaScript are really difficult, y'know
TNT you say... I'm not surprised. I once had to develop a client to use an API they have to automatically send mail. Half-way through I realise that a certain field doesn't have any valid values for this country. This wouldn't be so bad except this field determines how the package is sent (overnight, delivery by 12 tomorrow, etc). Without it you can't use the API. So I call them and they tell me that they'll have to create codes for this country. A few months go by, during which the project is put on hold and we work on other stuff. I call again and they tell me that they're on it. 3 years later I'm still waiting.
|
|
-
-
pbean


- Joined on 10-06-2008
- Posts 73
|
Re: Because form submission and JavaScript are really difficult, y'know
Zecc: pbean:are specifically developed voor PC's
You missed a spot. I'm curious as to how the IE specific code looked like.
Me too. It seems pretty difficult to screw that up.
|
|
-
-
belgariontheking


- Joined on 08-20-2007
- Cincinnati, OH, USA
- Posts 2,276
|
Re: Because form submission and JavaScript are really difficult, y'know
pbean: Zecc: pbean:are specifically developed voor PC's
You missed a spot. I'm curious as to how the IE specific code looked like.
Me too. It seems pretty difficult to screw that up.
As you are the OP, can't you go get the code and post it here?
SpectateSwamp exposing aliens. Obviously the World needs SSDS
[10:07] <fatdog> so from now on.. be sure to wear nice clean underwear [10:07] <mps> fatdog: That is simply not going to happen
|
|
-
-
pbean


- Joined on 10-06-2008
- Posts 73
|
Re: Because form submission and JavaScript are really difficult, y'know
belgariontheking: pbean: Zecc: pbean:are specifically developed voor PC's
You missed a spot. I'm curious as to how the IE specific code looked like.
Me too. It seems pretty difficult to screw that up.
As you are the OP, can't you go get the code and post it here? Since I posted the link, you could as well. :-) I looked and it seems the code for the button works just fine, but the button itself is somehow screwed up so that it only activates when you click the upper border of the search button.
|
|
-
-
belgariontheking


- Joined on 08-20-2007
- Cincinnati, OH, USA
- Posts 2,276
|
Re: Because form submission and JavaScript are really difficult, y'know
pbean:Since I posted the link, you could as well. :-)
Oh. Since you had just mentioned the email with the link to your ticket, I thought the link was for your ticket.
SpectateSwamp exposing aliens. Obviously the World needs SSDS
[10:07] <fatdog> so from now on.. be sure to wear nice clean underwear [10:07] <mps> fatdog: That is simply not going to happen
|
|
-
-
Zecc


- Joined on 06-12-2007
- Location, Location, Location
- Posts 654
|
Re: Because form submission and JavaScript are really difficult, y'know
belgariontheking:Oh. Since you had just mentioned the email with the link to your ticket, I thought the link was for your ticket.
Same here. Looking at the page, the problem seems not to be the JavaScript, but the weird CSS. A right-floating relatively-positioned negative-margined element? Wah?
If mixed metaphors were illegal, I'd be having an indigestion. typeof NaN == 'number'
|
|
-
-
fyjham


- Joined on 05-01-2008
- Posts 110
|
Re: Because form submission and JavaScript are really difficult, y'know
IE only is more common than it should be, but realistically 90%+ of people who don't use IE know how to fire up IE if the site won't work and unfortunately businesses figure that's good enough for the minority of the market to be inconvenienced if it makes it cheaper to build the site... Edit: Took out my reasoning, it was 100% wrong and dhromed was right :P
|
|
-
-
dhromed


- Joined on 04-13-2005
- Dutchland
- Posts 3,736
|
Re: Because form submission and JavaScript are really difficult, y'know
It's a CSS / browserquirk issue.
The button is not clickable in anything other than IE because there's a div (the container of the little tariff table) on top of it. In IE, elements that are 100% transparent are also click-through. In other browsers, not. fyjham:the reason it's IE specific is because they put
a span inside an anchor tag then made the anchor clickable which just
don't work
This is not a problem. Events bubble up by default, so the click on the SPAN will activate the event on its parent, the A.
— Flurp.
|
|
-
-
fyjham


- Joined on 05-01-2008
- Posts 110
|
Re: Because form submission and JavaScript are really difficult, y'know
dhromed:This is not a problem. Events bubble up by
default, so the click on the SPAN will activate the event on its
parent, the A.
Yep, I looked and you were right. I decided that one after 5
minutes of little-sleep glancing and probably should've held off
posting :P There is some elements that it won't bubble up to, now that
I've checked span isn't one of them but I've never really tried a span
inside an a so it seemed like the reason. I didn't realise the design was bad enough that a div
was overlapping it, there didn't really seem to be anything nearby to justify causing it so I didn't even look ;)
|
|
-
-
belgariontheking


- Joined on 08-20-2007
- Cincinnati, OH, USA
- Posts 2,276
|
Re: Because form submission and JavaScript are really difficult, y'know
dhromed:Events bubble up by default
I've taken many computers apart, and put almost as many back together correctly, and I've never seen any bubbles. or bugs.
SpectateSwamp exposing aliens. Obviously the World needs SSDS
[10:07] <fatdog> so from now on.. be sure to wear nice clean underwear [10:07] <mps> fatdog: That is simply not going to happen
|
|
-
-
ender


- Joined on 04-27-2006
- Posts 491
|
Re: Because form submission and JavaScript are really difficult, y'know
DOA:3 years later I'm still waiting.
Sounds similar to the urgent VPN connection with TNT's network I had to set up - only took 8 months from start to finish.
Because 10 billion years' time is so fragile, so ephemeral... it arouses such a bittersweet, almost heartbreaking fondness.
|
|
-
-
boomzilla


- Joined on 12-11-2007
- NOVA
- Posts 277
|
Re: Because form submission and JavaScript are really difficult, y'know
belgariontheking: dhromed:Events bubble up by default
I've taken many computers apart, and put almost as many back together correctly, and I've never seen any bubbles. or bugs.
I guess he must be referring to the smoke. As long as you don't let it out, everything should keep working.
|
|
-
-
galgorah


- Joined on 04-18-2007
- Cambridge, Ma
- Posts 305
|
Re: Because form submission and JavaScript are really difficult, y'know
belgariontheking:
dhromed:Events bubble up by default
I've taken many computers apart, and put almost as many back together correctly, and I've never seen any bubbles. or bugs.
I found a small snake in a computer once. climbed in one of the pci slot openings on the back of the case.
Creaping you out since 1981!
|
|
-
-
halcyon1234


- Joined on 09-10-2008
- Posts 93
|
Re: Because form submission and JavaScript are really difficult, y'know
(warning: Dutch).
Whew, thanks for the warning. I almost got some of it on me!
|
|
-
-
dtech


- Joined on 11-13-2007
- Utrecht, Netherlands
- Posts 623
|
Re: Because form submission and JavaScript are really difficult, y'know
halcyon1234: (warning: Dutch).
Whew, thanks for the warning. I almost got some of it on me! Nou, dan zorg ik er toch gewoon voor dat je het al binnenkrijgt als je je e-mail leest (of dit draadje bekijkt). Eet mijn giftige taal! Oo, en veel succes iedereen verder, met de online vertalers enzo. Benieuwd wat die er van maken. Heb dat trouwens even uitgeprobeerd op de vertaler van google, niet veel soeps... (oftewel in het engels: "not much soup", yeah right)
|
|
-
-
halcyon1234


- Joined on 09-10-2008
- Posts 93
|
Re: Because form submission and JavaScript are really difficult, y'know
okay, I'll take a stab at it: When you worked in support, you'd often get emails sent to you-- I *think* about their cable (ala television)? They were illegable and muddled. Obviously, they were using online translators, though a few of them were done properly. (Or the translations were getting better over time?) And sometimes you'll even see in print or on websites people who have just used Google translate, which are wrong and they haven't even checked the results, which results in that common phrase becoming "not much soup". (har har). Am I close? Or should I add "purple monkey dishwasher, bork bork bork"?
dtech: Nou, dan zorg ik er toch gewoon voor dat je het al binnenkrijgt als je je e-mail leest (of dit draadje bekijkt). Eet mijn giftige taal! Oo, en veel succes iedereen verder, met de online vertalers enzo. Benieuwd wat die er van maken. Heb dat trouwens even uitgeprobeerd op de vertaler van google, niet veel soeps... (oftewel in het engels: "not much soup", yeah right)
|
|
-
-
mbvlist


- Joined on 10-02-2006
- Posts 29
|
Re: Because form submission and JavaScript are really difficult, y'know
Hoe komt het toch dat er zoveel Nederlanders hier zitten? I'll be nice: "Well, I'll make sure you get some of that in you if/when you read your email (or watch this thread). Eat my poisonous language! By the way, good luck everybody, with the online translators and so on. I'm curious what they make of it (=I'm curious how that works out). I've just tried that on the translator at Google, no good (or in English: "not much soup" (word-by-word translation for a common phrase))" (intentional rubbish translation, because it was already rubbish in Dutch :P Most of it is word-by-word translated) So, to all dutch people: go your gang, use the donkeys' bridge, we can take these people in the mailing.
By the way, according to some Turkish master students,
formal Dutch can be translated to (some form of) English by google
translate. Even this peace of crap informal language can be translated better than the above try... Forgot something:
"Vell, I'll meke-a soore-a yuoo get sume-a ooff thet in yuoo iff/vhee
yuoo reed yuoor imeeel (oor vetch thees threed). Iet my pueesunuoos
lungooege-a!
By zee vey, guud loock iferybudy, veet zee oonleene-a trunsleturs und
su oon. Bork bork bork! I'm cooreeuoos vhet zeey meke-a ooff it (=I'm
cooreeuoos hoo thet vurks oooot).
I'fe-a joost treeed thet oon zee trunsletur et Guugle-a, nu guud (oor
in Ingleesh: "nut mooch suoop" (vurd-by-vurd trunsleshun fur a cummun
phrese-a))"
(intenshunel roobbeesh trunsleshun, becoose-a it ves elreedy roobbeesh
in Dootch :P Must ooff it is vurd-by-vurd trunsleted) Su, tu ell dootch
peuple-a: gu yuoor gung, use-a zee dunkeys' breedge-a, ve-a cun teke-a
zeese-a peuple-a in zee meeeling.
|
|
-
-
BertBert


- Joined on 02-21-2008
- Posts 13
|
Re: Because form submission and JavaScript are really difficult, y'know
pbean:But the surprise came when I pressed search: nothing happened. As a coder, I tried some tricks (pressing the Return key, selecting another option and the one I wanted again and try again) but nothing worked. So in a feat of brilliance I fired op Internet Explorer and copy-pasted the URL. Hey, it works! I tried some Chrome and Opera as well, but didn't work.
oops.. I never noticed nothing happened. I was happily surprised that packages had got this cheap, so I underpaid at least one package.. never bothered to check wether it arrived..
|
|
Page 1 of 1 (21 items)
|
|
|