An AJAX contact form
Introducing Dustin's Ajax Contact Form
Download Ajax Contact 0.9
It's a bit over the top... well... for a contact form that is. But yesterday morning I decided that I wanted to have a little fun so I put together an unobtrusive AJAX contact form (works even with JavaScript disabled). Feel free to send me a line. It's a lean mean, contactin' machine :D
If you're wondering what the whole package deal is all about, I put together a page of what is inside the zip file as a try-out demo just to show that it does in fact work right out of the box. I even downloaded the file myself as if I'm new to the whole thing ;)
See the "testJax" beta release demo
Note: If you decide to use this contact form on your site, feel free to let me know where you're using it. I am easily flattered ;)
Note Sept 10, 2005 I found a flaw in my own release. No, it's not a security flaw, just a stupid bug I didn't catch first time round. Unfortuntaely I won't be able to re-upload another package until Monday since I'm on vacation working on a hotel computer. If you need to know the fix, here it is typed out:
Change the function processPosChange in js/xmlHttp.js to say exactly as follows:
function processPosChange for Ajax Contact Form
function processPosChange() {
// page loaded 'complete'
if (pos.readyState == 4) {
// page is 'OK'
if (pos.status == 200) {
if ( grabPosXML('posStatus') == 'NOTOK' ) {
alert('There were problems Sending Email.');
}
}
}
}
All the best!
recent
- Matador: The Obvious MVC Framework for Node
- Sandboxing JavaScript
- Crouching Ender, hidden command
- Ender.js - The open submodule library
- Qwery - The Tiny Selector Engine
- Klass
- Smallest DOMReady code, ever.
- $script.js - Another JavaScript loader
- About that slowness on Twitter...
- Autocomplete Fuzzy Matching
- JavaScript Cache Provider
- JavaScript Animate
- Asynchronous method queue chaining in JavaScript
- Something changed
- Unofficial Twitter Widget Documentation
i am dustin diaz

