Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Something like this should be built-in in jQuery.

You can do $(document).ready(), why not, the admittedly syntax sugared, $("div#main").ready().



I created a plugin for this type of thing a while back too:

http://plugins.jquery.com/project/available





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: