Idiot Proof

详细介绍

Simple plugin that alerts you if you’re trying to access the DOM without the
$(document).ready() function when the DOM isn’t finished.

Designed to help the developer making silly mistakes!

The code monkeypatches the find method and then reverses itself out when it’s
not needed.

推荐源码