Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1112012

    Hi

    I have been trying to add this jquery to a page inside a code box or a tab called pricing to load in a pricing table. On the site there are a number of pages that require an individual pricing table added.

    Unfortunately I cannot get the pricing table to appear, am I doing something wrong? Javascript is not my strong point!

    <script>
    $.ajax('//guest.highlife.ie/app.aspx/chaletPrice/table/3?seasonid=17¤cy=euro&rows=2', function(priceContent) {
        $('#chalet-price-placeholder').html(priceContent);
    });
    </script>
    #1112186

    Hey zerodotnine,
    You are getting the error:

    Access to XMLHttpRequest has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

    Which means highlife.ie is not allowing your site, try asking them to allow your site.

    Best regards,
    Mike

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.