New Ajax Contact Form

I realized a few days ago that I didn’t have a contact form on my site.  The only way that people could get a hold of me was to comment on a post, there was no general purpose contact feature.

Over the past few days I threw together a rudimentary contact form (see the link on the right side of the page).  I wanted to use ajax to do it, so I went looking for an easy javascript ajax library.  I didn’t want some huge solution with tons of features, all I wanted was a simple, cross browser way to send and receive some ajax requests.

I found this one called “Simple Ajax“, and I figured that would be the perfect one for me, given the name :)  For some reason though, it was more difficult to get setup than I would have thought.  The javascript code didn’t seem to work, so I had to go in a modify it a bit, but I think it’s all good now.  I like the fact that this library uses JSON to return data from the server rather than parsing xml.

I know the form isn’t too pretty, I’ll probably try to dress it up a bit later, but for now I just wanted to get something out there.

Let me know if you notice anything wrong with it.  I suppose you’ll have to leave a comment to get a hold of me :)

4 Comments so far »

  1. Rett said,

    Wrote on August 19, 2006 @ 1:43 pm

    I searched for the same thing a couple weeks back and ended up using this one:
    http://jamietalbot.com/wp-hacks/holler/

    only because it is a simple plugin to wordpress. Check it out on my site here:
    http://www.rettmartin.com/contact-rett/

  2. ben said,

    Wrote on August 19, 2006 @ 2:08 pm

    Yeah, when you added your form is actually when I first realized that I didn’t have one :)

  3. Rett said,

    Wrote on August 19, 2006 @ 7:36 pm

    it looks great now, I like how it pops on top of the page. Well done chap.

  4. Jason said,

    Wrote on March 18, 2007 @ 10:37 pm

    Hey, sorry about the setup problems, I’ll look into that. (I was hoping to alleviate headaches associated with learning AJAX, and still have some modifications I want to make with the javascript)

Comment RSS · TrackBack URI

Leave a Comment

Name: (Required)

E-mail: (Required)

Website:

Enter my name (ben) in this box, so I know you're a human.

Comment: