Hello

I am getting the following error messgaes when I try to validate the
google translator (using code below):

 Line 178, Column 44: Attribute "TYPE" is not a valid attribute. Did
you mean "type"?
… id="google_translate_element" type="text/javascript"></div><script
type="tex

 Line 186, Column 104: required attribute "TYPE" not specified
…nt.js?cb=googleTranslateElementInit"></script>

I have been playing about with this (http://javascript.about.com/
library/blxhtml.htm) but not had any joy, anyone already validated it
and would like to share?

Many Thanks :)

SparkyTigs

<div id="google_translate_element"></div><script>
function googleTranslateElementInit() {
  new google.translate.TranslateElement({
    pageLanguage: 'en'
  }, 'google_translate_element');
}
</script><script src="http://translate.google.com/translate_a/
element.js?cb=googleTranslateElementInit"></script>

Reply via email to