I'm using the handy jquery snippet for clearing fields, with a slight modification to clear all inputs instead of just ones with .clearit.
This is working great on one of my standard 1 pages forms, but the other is paged and it's not working.
http://2013.studio412design.com
Click "Contact" to see the working form.
Click "Request a Quote" (above the logo) to see the non-working form.
I've tried a bunch of stuff, including being more specific in the call and specifying the ID of the input and nothing works. It's like there is a conflict with the pagination or something.
$.fn.cleardefault = function() {
return this.focus(function() {
if( this.value == this.defaultValue ) {
this.value = "";
}
}).blur(function() {
if( !this.value.length ) {
this.value = this.defaultValue;
}
});
};
$("input, textarea, .input, #input_9_7").cleardefault();
Any insight would be helpful.
Thanks!
-Nick