Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ferdy Hoefakker 214 posts 248 karma points
    Aug 15, 2010 @ 12:19
    Ferdy Hoefakker
    0

    ajax in umbraco

    Hey everyone. I made a small and rather simple ajax javascript. However, whenever it fires, it refuses to get to readystate 4. I am pointing the script to a page made with umbraco, so I am wondering, is it not possible to use ajax to fetch pages made in Umbraco or something?

    Kind regards,

    -Ferdy

  • Matt Brailsford 2958 posts 15629 karma points MVP 7x c-trib
    Aug 15, 2010 @ 14:23
    Matt Brailsford
    0

    Hi Ferdy,

    It's certainly is possible to load umbraco pages via ajax. Here's a recent example of a dynamic filter for an art gallery done using ajax and alternative templates

    http://www.todd-white-art.com/art/editions.aspx

    Umbraco dosn't put any restrictions on your HTML, so there is no reason why it shouldn't work.

    Matt

  • Ferdy Hoefakker 214 posts 248 karma points
    Aug 15, 2010 @ 15:37
    Ferdy Hoefakker
    0

    Okay nevermind... I had missed a capital letter in the "readyState" part causing it to never get to readyState 4. I feel like an idiot now.

    Anyway, thanks for confirming it was my mistake and not a limitation in Umbraco Matt!

    -Ferdy

  • Matt Brailsford 2958 posts 15629 karma points MVP 7x c-trib
    Aug 15, 2010 @ 15:42
    Matt Brailsford
    0

    Hehe, we all make mistakes =)

    Matt

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies