I followed the instructions here :
http://www.gravityhelp.com/clearing-default-form-field-values-with-jquery/
To clear the defaul values to no avail!
I appreciate your help. Here is the site:
I followed the instructions here :
http://www.gravityhelp.com/clearing-default-form-field-values-with-jquery/
To clear the defaul values to no avail!
I appreciate your help. Here is the site:
What is this file in reference to: Screenshot
Hey Rob, thanks for your quick answer:
I added it to the js folder's theme, and it's got this:
jQuery(document).ready(function() {
jQuery.fn.cleardefault = function() {
return this.focus(function() {
if( this.value == this.defaultValue ) {
this.value = "";
}
}).blur(function() {
if( !this.value.length ) {
this.value = this.defaultValue;
}
});
};
jQuery(".clearit input, .clearit textarea").cleardefault();
});
The file is not likely named js:gravity.js and is probably not in the root folder of the website. Follow the format of the links to the other scripts, and store your script in the same place and I think you will have it. Your link may look something like this:
<script type='text/javascript' src='http://www.straightforex.com/blog-de-forex/wp-content/themes/yoo_subway_wp/js/gravity.js'></script>
Thank you Chris and Rob for your help...
The path was wrong as Chris suggested...
Thanks again!
Cool, glad to help.