I have a page which uses jQuery document.ready, to populate the content of a div when a button is clicked.
The content inside the div also uses jquery to create some hover preview of an image (also inside this div). But I can not use document.ready again. How should this be implemented?
You can use
document.readyas many times as you like. They’re executed top-to-bottom.