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