it is? Not everything needs to be done in $(document).ready(). $(document).ready(function () { / / D o s t u f f h e r e t h a t c a n b e d o n e o n l y a f t e r t h e D O M i s l o a d e d }); $("a").click(function () { / / D o o t h e r s t u f f h e r e });