My view (a details itemId partial that lists img tags) is rendered from my controller. The number of img varies depending on the model pointed to by itemId. I need to change the div with which contains the ing tags to # of img x img width.
To do so, I need to make sure that my javascript in the view gets ran after the partial us rendered.
How to do that?