SCRIPT65535: 予期しないメソッドの呼び出し、またはプロパティ アクセスです。
こっちも出たり出なかったり。
SCRIPT65535: 予期しないメソッドの呼び出し、またはプロパティ アクセスです。 jquery.js, 行 103 文字479
流れ流されて参考にした記事を見つける。
http://blog.livedoor.jp/maru_tak/archives/50545757.html
書き換えられないものを書き換えようとしている部分を探していくと、$("テキストボックスのID名").text(""); や $("テキストボックスのID名").text("内容文"); などという書き方をしている部分が!
内容をリセットする部分は $("テキストボックスのID名").empty() に、テキストボックスの内容を変える部分は $("テキストボックスのID名").val("内容文") に変更したところ、IEでのエラーが消えた。
試すが変化なしでこんな記事を見つける
http://johndoesdesign.com/blog/2012/jquery/ie-doesnt-like-jquerys-title-textvar/
So to cut a long story short, doing this in jQuery: ($(‘title’).text(var)) works in most browsers, but IE 7 and 8 throw this beauty of an error:
SCRIPT65535: Unexpected call to method or property access.
jquery.min.js, line 3 character 32461
Character 32461 refers to this: ‘this.appendChild(a)’. After some research it appears that a lot of people receive this error from IE for a bunch of different reasons, not just relating to changing the page title dynamically. To avoid this error just use some straight up JavaScript instead:
document.title = var;
どこかでtitleに対する操作でエラーになっている記事も見つけたので
$("title").append(":"+$("title", this).text());
これをコメントアウトすると直った。
なのでこんな改造に落ち着く
//$("title").append(":"+$("title", this).text()); var title_str = document.title; document.title = title_str+":"+$("title", this).text();
「$("title")」これは鬼門なのか?おしまい。