Use jQuery click to handle anchor onClick()
The first time you click the link, the openSolution function is executed. That function binds the click event handler to the link, but it won’t execute it. The second time you click the link, the click event handler will be executed. What you are doing seems to kind of defeat the point of using jQuery … Read more