I am trying to run a script that needs to look at elements inside of a modal dialog. What I am running into is the script is loaded BEFORE the modal dialog is opened and when I click my button to open it, the modal page isn't displayed correctly. What do I do to load JavaScript AFTER the modal has been opened?
Thanks!