Search plugin causes page to fail XHTML 1.0 Transitional Validation
Posted: Sun Apr 29, 2007 9:46 pm
I have been working on my web hosting site, updating it to CMSMS and ran across something interesting. I create my pages and check for validation using the Firefox Web Developer tools. The CSS validates no problem. However, the HTML triggers the following:
I have search all over the search module files to find where this "onBlur" line is, but can't find it. Why is this particular function there, is it really needed and why does it fail?
Line 41 contains the following:This page is not Valid XHTML 1.0 Transitional!
Below are the results of checking this document for XML well-formedness and validity.
1. Error Line 41, column 237: there is no attribute "onBlur" .
...defaultValue) this.value='';" onBlur="if(this.value=='') this.value=this.defa
Code: Select all
<label for="cntnt01searchinput">Search</label>: <input type="text" name="cntnt01searchinput" id="cntnt01searchinput"
value="Enter Search..." size="20" maxlength="50" onfocus="if(this.value==this.defaultValue) this.value='';"
onBlur="if(this.value=='') this.value=this.defaultValue;" />