Question

I want to trigger a javascript function after all the documents in the document library are loaded.

I have coded a custom renderer for document library to display custom text for document library. When all the contents of the document library are loaded, I want to execute a javascript on the custom text.

I tried the below code in custom javascript file added as dependency and it does not work.

$(document).ready(function () {

myjsfunction();

}
Was it helpful?

Solution

I am using a window.setInterval to call cutom javascript function after a predefined time

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top