Monday - May 27, 2002
javascript tweaking

I’ve added JavaScript to validate the fields in the email form instead of having the server do it. I also have a snazzy little regular expression to make sure the email address is valid. I have received a few emails with invalid email addresses and it’s annoying because I can’t reply to them. This should help a little bit, as long as they don’t have typos which still keep the email address valid.

I also made a few minor changes to the JavaScript guessing game to make it work in Netscape 4.7x. You can’t have the “type” attribute in the <script> tag, even though HTML 4.01 requires it. As a result, both the email form and the guessing game do not have valid HTML anymore. It’s more important for the pages to work in Netscape 4.7x though, so I’ll just have to live with it.

While working on all of the JavaScript additions I’ve come to appreciate Mozilla even more, thanks to the JavaScript Console (In Tools -> Web Development -> JavaScript Console.) Have I mentioned that I really like Mozilla? (And I haven’t even discussed the DOM Inspector yet)

My motorcycle is up for sale. Hopefully it sells quickly.

If have any problems with the changes I’ve made to the email form, you can email me at dan (at) hersam dot com. I won’t tell you to use the email form if you are having problems with it, unlike the telephone company who tells you to

…report these problems by calling 800-573-1311.

Funny, isn’t it, that one of the problems they list is

Can’t call out or can’t receive calls.

What do you do if you don’t have internet access, or you only have dial-up, which isn’t working because you can’t call out?





« Comments are closed »
Number of readers
- home
meta
comics
news links
other links

about me
blog archives
docs
entertainment
experiences
funny lists
humor
intellectual
interests
mefi
music
opinions
photos
web designs
tools
webmaster help

Sign up
Enter your email address to be notified of new posts



Search blog archives

Calendar
May 2002
S M T W T F S
« Apr   Jun »
 1234
567891011
12131415161718
19202122232425
262728293031  







Random quote
(View all quotes)
"Beifeld's Principle: The probability of a young man meeting a desirable and receptive young female increases by pyramidal progression when he is already in the company of: (1) a date, (2) his wife, (3) a better looking and richer male friend."










Licensed under Creative Commons
(?) Choose theme:  X X X X X X


W3CCSS
Loaded in 0.1097 seconds