通常、.length は 0 以上を返す必要があります。
理由はわかりませんが、次のとおりです。
alert($('.class').length);
投げています、私はグーグルクロムのコンソールで見ることができます、このエラー:
Uncaught TypeError: Cannot read property 'length' of null test-shop.mysite.com/store/es/:1102
(anonymous function)
これはなぜでしょうか?