The error location is around line 92 of jquery.metadata.js:
else if ( elem.getAttribute != undefined ) { // This line reports an error
var attr = elem.getAttribute( settings.name );
if ( attr ) data = attr;
}
The strange thing is that elem is a textarea object, but there is no getAttribute method
Solution: Try to modify it to the following code, and it succeeds
else {
data = $(elem).attr(settings.name);
}
There is a problem with IE6 Tinymce3.3 jQuery.validation jQuery.metadata
There is no problem with Firefox, and there is no problem with the Tinymce editor simple theme.
I have wasted 1 hour and have no time to study. .
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn