Hi,
On 26/10/2011 12.39, Berker Peksağ wrote:
Hi,
I think this is shorter than $(document).ready();
$(function() {
// ...
});
See:
http://stackoverflow.com/questions/3528509/document-readyfunction-vs-function/3528528#3528528
Thanks a lot for the review, I didn't know about this shortcut!
However I think I'll just leave $(document).ready(...); because, even if
longer, is more explicit and readable.
Best Regards,
Ezio Melotti
--Berker
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com