I have the following function that I want to run on page load and re-run when you click div#trigger. When you click div#trigger everything is fine. However on page load the code
Do you have another function that also runs on page load? Because if this is the case maybe the 2 functions have a conflict...