load() makes call but doesn't return anything

load() makes call but doesn't return anything

Hello,

I've been using jquery a year or so ago and then stopped. I'm now trying out something else and for some reason the simples load() isn't working.
All I want to try here is to load the html from a URL into a div with id "visitenkarte".
I can see in Firebug that the call is made, but in the response all i see is blank.

This is all the code is. Can someone please tell me what's wrong?

  1. $(document).ready(function()
  2. {
  3. $("#visitenkarte").load("http://www.w3schools.com/tags/default.asp");

  4. });

Thank you,
Paul
    • Topic Participants

    • paul