Joomler!.net - Decided on Joomla!

デル株式会社

Jboard is Multiple Board!

Home » Blog » mootoolos
1 votes
Written by:Joomler! 4324 hits Thursday, 24 April 2008 17:54

AjaxのPOSTでevalScriptsをtrueにして返ってくるJavascriptそのもののレスポンスが、IE7だと何度やってもエラーが出てしまう。Javascriptそのまま(関数生成しないもの)を実行できないとかってのは知っていたが、やはり何をやってもだめだ。Firefoxは、優等生。何をやってもOKでした。(何をやってもって変ですが)

で、同じ行で何度もエラーが出るのでcompされていないmootoolsで再度読み直してエラー行を見てみた。そうしたら、何となくこんな事をやっているようだ。

headerを見てJavascript(jsファイル)でなかったら、<script>タグ内を読んでまとめて実行する。headerを見てJavascriptだったらそのまま読み込んで同じように事を行う。

結局、headerを吐いて生Javascriptで解決した。ん?でもここまで書いていてもう一度確認してみたくなった。読み込むところが変?

 

JContentPlus for Joomla!1.5 powered by Joomler!.net

デル株式会社
joomler.net is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla!(R) name is used under a limited license from Open Source Matters in the United States and other countries.
joomler.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.