@kbysbtmup jQueryにて:いくつかのHTML要素を1つの変数にまとめてappend()したら、IE6だけ何も表示されなかった。でも変数の値をalertで見たらちゃんと入ってた。で、変数にまとめずに直接append()の中でまとめるようにしたらちゃんと表示された。何なんだろう。 2011-04-15 17:31:17
@kbysbtmup jQueryにて:いくつかのHTML要素を1つの変数にまとめてappend()したら、IE6だけ何も表示されなかった。でも変数の値をalertで見たらちゃんと入ってた。で、変数にまとめずに直接append()の中でまとめるようにしたらちゃんと表示された。何なんだろう。 2011-04-15 17:31:17
必要だったので、jQueryとJavaScriptでユーザがページ離脱したときに、Ajaxを送信したりイベントを実行しようとしたのですが、あまりにもFirefox(FF)、Safari、Chrome、InternetExplorer(IE)での挙動が違ったので、備忘録的にメモ。 結論からいうと、最終的にはIEと、FF、Safari、Chromeの2種類のブラウザを判定してAjax送信方法を切り替えるという方法で実装しました。 まずはページを離脱したときに動作させるjquery ユーザがページを離脱したときに確認分を出すコード。 $(window).on("beforeunload", function() { return "本当に移動しても良いですか?"; }); beforeunloadってのがページを離脱するときに動作するのですが、IEだとリンク内のJavascriptなどにも動作し
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く