title: How to call jQuery AJAX on click event?
body: <p>I made a jQuery model.</p>
  
  <p>Am trying to populate data using AJAX inside that model.</p>
  
  <p>I am getting an id and using that I want to populate data using AJAX.</p>
  
  <p>How should I call AJAX on click event? </p>
  
  <p>Is there any other event when the model is opened or loaded?</p>
  
  <p>The model is just the showing and hiding of div.</p>