i want to load some images on a click event from an external loaded javascript. At the end of the template i manage my loaded scripts via modernizr load and yep nope. On click of some of the elements i want to load a html snippet with some ee related tags for the different channel entries.
The snippet look like this:
{exp:channel:entries channel="news" status="open" dynamic="off"}
<article class="close">
<h2>{title} TEST</h2>
</article>
{/exp:channel:entries}
As i said i use jQuery to manipulate the dom, but i'm not able to start an ajax call like this
function loadSlider(element)
{
$(element).load("/system/expressionengine/templates/snippets/newswall_news.html");
}
i get only an 403 error?
Tried it also as test to put the html snippet in the root folder, but the ee tags don't get parsed?
Any help on this would be great.
Peter