Call RJS after page render

Is there any way (either from within rails or via JS on the rendered page) to call RJS after a page has rendered?

I have a form with a bunch of dynamic pulldown menus with dependancies on each other and several other factors. The selects automatically update via observe_field when a selection is made and it would be nice to simply call the same functions from the page just after it is rendered.

Thanks.

Tony wrote:

Is there any way (either from within rails or via JS on the rendered page) to call RJS after a page has rendered?

Put raw JavaScript into your <body onload=''> event

I have a form with a bunch of dynamic pulldown menus with dependancies on each other and several other factors.

Put raw JavaScript into your <select onchange=''> event.

I think you don't need all that RJS overhead just to do browser-side things.