Sometime Today, R cobbled together some glyphs to say:
What happens is that as soon as you move to another field, the date
gets cut by 1 character in the right. Is there any problem in the web
page's client script, that can be brought to the notice of the
webmaster? Javascript and Firefox are like brothers.
ok, I had a look at the site. There are two ways to fix it.
1. Programmatically remove the onblur event from all date fields - you
can use the method I showed you earlier
2. Use the DOM inspector: (Ctrl+Shift+I), then click the selector button
(the little button next to the binoculars), then click on the first date
field. On the right hand pane you'll see onblur. Right click and
delete it. Do the same for all date fields.
As far as what's wrong with the code, don't get me started. That code
was written by a school child who's never studied programming in their
life.
If you just want to fix this problem, then get rid of this line in
date_diff.js:
vDateName.value = vDateName.value.substr(0, (vDateValue.length-1));
Any one who's ever used a substring function in his life before will
tell you that whoever wrote that code was missing a brain somewhere.
They were obviously missing pride as well, because they've got this at
the top of the file:
var message="Developed and Maintaned \n\tby\n\ NIC, MEA Division, New Delhi";
seriously. If I'd written that shit, I wouldn't want my name anywhere
near it.
Philip
--
A novice was trying to fix a broken lisp machine by turning the
power off and on. Knight, seeing what the student was doing spoke sternly,
"You cannot fix a machine by just power-cycling it with no understanding
of what is going wrong." Knight turned the machine off and on. The
machine worked.
--
http://mm.glug-bom.org/mailman/listinfo/linuxers