title: Show popover via Ajax call
body: <p>I am  trying to show popover on hover of an image,the content of  popover is a response of Ajax call to a template.With in this template I have tag (which used in taglib) in which my template of popover is rendered.In my response I am able to get my popover content but it is not displayed on hover of image.</p>
  
  <p>Edit:
  This is my tag which is used in template:</p>
  
  <pre><code>&lt;cv:advice resumeSection="Additional" fieldId="int" resume="${resume}"/&gt;
  </code></pre>
  
  <p>And The taglib in which tag is used:</p>
  
  <pre><code>def advice = { attrs, body -&gt;
      Resume resume = attrs.resume
      String resumeSection = attrs.resumeSection
      String fieldId = attrs.fieldId
      AdviceBox adviceBox =   AdviceBox.findByResumeSectionAndFieldIdAndResumeType(resumeSection, fieldId,   ResumeType.findById(1))
      if (adviceBox) {
          out &lt;&lt; g.render(template: "../templates/popover", model: [adviceBox: adviceBox, resumeSection: resumeSection, fieldId: fieldId])
      }
  }
  </code></pre>
  
  <p>And Code of popover template is:</p>
  
  <pre><code>&lt;a href="#" class="popover-with-html" rel="popover" data-html="true"    data-trigger="hover" title="${adviceBox?.title}" data-content="${adviceBox?.content}"&gt;
  &lt;img onclick="adviceEvent('${resumeSection}', '${fieldId}');" src="${g.resource(dir:  'images/CvSurgeonLegacy', file: 'question_mark.gif')}"/&gt;
  &lt;/a&gt;
  </code></pre>