title: How to load a custom html module using ajax-call joomla 2.5
body: <p>I have in my html page a link with class name ="flyer" and href="MY_HREF".<br />
  When the user click's in the link I want to load a "custom html"  module with specific ID.<br />
  Can you please advise me how will be the syntax of the  MY_HREF.</p>
  
  <p>For example <a href="http://www.mywebsite/com_custom/id=ID.html" rel="nofollow">http://www.mywebsite/com_custom/id=ID.html</a>  ???</p>
  
  <p>Below I have the ajax call: </p>
  
  <pre><code>    jQuery.ajaxSetup ({
          dataType: "html",
          cache: false  
      });    
      var portfolioItemURL = "";  
      jQuery(".flyer").click(
          function(){
              portfolioItemURL = jQuery(this).find("a").attr("MY_HREF") + '?tmpl=component&amp;type=raw';
              jQuery("#ajaxCallContainer").load(portfolioItemURL);
          }
  ); 
  </code></pre>