title: Error when trying to open modal using Jquery
body: <p>I'm trying to open a modal using jqmShow() from Jquery, but when clicking on the link using jsf the modal is not opened, popping an error stating
  $(....).jqmShow is not a function</p>
  <p>html</p>
  <pre><code> &lt;h:outputLink styleClass=&quot;bs-download__link detModalDownload&quot; 
                                              id=&quot;lcvn&quot; value=&quot;#modal&quot;
                                              title=&quot;Show Modal&quot; /&gt;
  
  
  
   &lt;div class=&quot;jqmWindow&quot; id=&quot;modal&quot;&gt;
  &lt;iframe class=&quot;tabindex iModalWidth&quot; 
                              title=&quot;Iframe Modal&quot;  
                              id=&quot;iframeModal&quot; 
                              name=&quot;iframeModal&quot; 
                              src=&quot;&quot; 
                              frameborder=&quot;0&quot; 
                              scrolling=&quot;auto&quot; 
                              marginheight=&quot;0&quot; 
                              marginwidth=&quot;0&quot; 
                              width=&quot;770&quot; 
                              height=&quot;960&quot;&gt;
                      &lt;/iframe&gt;
      &lt;/div&gt;
  </code></pre>
  <p>Jquery</p>
  <pre><code>$(&quot;.dtModalDownload&quot;).click(function(evt) {
  
          $('#iframeModal').contents().find(&quot;body&quot;).html('');
  
          //default size
          jQuery(&quot;.modalWidth&quot;, window.parent.document).width(800);
          jQuery(&quot;.iModalWidth&quot;, window.parent.document).width(770);
          
          $(pTargetDiv).jqmShow(); //Error line not function
  
          return false;
      });
  </code></pre>