On 4/9/07, Rony ronbillypop@yahoo.co.uk wrote:
I was filling out the online passport registration form and had problems with the date field. After the focus was moved to any other field, the last digit of the date would get cut. You can try it out on the link below. https://passport.gov.in/pms/OnlineRegistration.jsp Even reducing the date from 4 to 2 characters show the same result.
It's not a JSP problem, it's a javascript problem. It's because the web designer has chosen to use some IE specific code.
The page is typical amateur web-designer stuff with slap-on scripts that they've found from the interweb. So you can't really expect clean cross-browser javascript from them.
The lack of consistency in variable naming, commenting, the silly right-click disabled script, etc. are the telling signs if anyone's wondering. The only thing missing was a mouse tail; I remember they were a rage a few years back ;)