jquery in html block
Permalink
hi people,
got an issue trying to use jquery in an html block to pull xml nodes from an external rss feed through a simple proxy. The proxy is working fine and i can view the atom feed no worries from within my domain. However, i can't seem to get jquery to parse the results into an html block?
presently in my block i have
it is a custom theme but the jquery asset is being called in the page_theme php.
what am i doing wrong???
running concrete 5.7.3.1 if its relevant :-)
thanks in advance for any help anyone might be able to give.
got an issue trying to use jquery in an html block to pull xml nodes from an external rss feed through a simple proxy. The proxy is working fine and i can view the atom feed no worries from within my domain. However, i can't seem to get jquery to parse the results into an html block?
presently in my block i have
<script> $(document).ready(function() { $.ajax({ type: "GET", url: "LOCALPROXYLINK", dataType: "xml", success: parseXml }); });; function parseXml(xml) { $(xml).find("NODE").each(function() { $("#output").append($(this).attr("CHILDNODE"));
Viewing 15 lines of 18 lines. View entire code block.
it is a custom theme but the jquery asset is being called in the page_theme php.
what am i doing wrong???
running concrete 5.7.3.1 if its relevant :-)
thanks in advance for any help anyone might be able to give.
Have you checked to make sure the jQuery asset is being included in your theme?