ウインドウのリサイズイベントでページの再読み込みをしたくて以下のコードを書いた。 $.fn.reload = function(){ $(window).resize(function(){ location.reload(); }) } 試しにウインドウサイズを変更したけどなぜか無反応。 でもこっちは動く。 $.fn.reload = function(){ $(window).resize(function(){ location.href = location.href; }) } ちなみにbindも同じ。 $.fn.reload = function(){ $(window).bind('resize',function(){ location.href = location.href; //location.reload();うごかない }) } これと同じだと思う。 それぞれの