I have a mobile page where the contents (of pages) will loaded via ajax. I'm using iScroll and I have to reinitialize it, when the content will refreshed. iScroll needs the height of the tag. And when the loaded content has to many images, i have a problem with iScroll-timing.
I know that I can use the $(window).load()
event, when the main page is fresh opened. How can I use this after an ajax-call? I tested $('#mycontainer').load()
but its not working. I cannot use a resize event, because the container has "100% height".
Any ideas?