title: jquery element from another page with $.get
body: <p>I am trying to pull in a  element from another page with the id = usertags. I am usying the .get method.</p>
  
  <p>For some reason I am unable to make it happen, no errors. </p>
  
  <pre><code>$.get('/cgi-bin/koha/opac-tags.pl', function(data) {
      var tags = $(data).find("#usertags");
      $("#mainuserblock").append(tags);
      console.log( $(data) );
  });
  </code></pre>
  
  <p>I am mostly confused by what the log info $(data) says. To me it looks like it is not actually pulling from the opac-tags.pl page but from somewhere else: </p>
  
  <pre><code>{
    "length": 0,
    "prevObject": {
      "0": {
        "auth": {
          "0": {
            "0": {},
            "1": {},
            "2": {},
            "3": {},
            "4": {}
          },
          "1": {
            "0": {},
            "1": {},
            "2": {},
            "3": {},
            "4": {},
            "5": {}
          }
        },
        "searchform": {
          "0": {
            "0": {},
            "1": {},
            "2": {},
            "3": {},
            "4": {},
            "5": {},
            "6": {}
          },
          "1": {},
          "2": {}
        },
        "location": {
          "href": "http://viu.bywatersolutions.com/cgi-bin/koha/opac-main.pl",
          "origin": "http://viu.bywatersolutions.com",
          "protocol": "http:",
          "host": "viu.bywatersolutions.com",
          "hostname": "viu.bywatersolutions.com",
          "port": "",
          "pathname": "/cgi-bin/koha/opac-main.pl",
          "search": "",
          "hash": ""
        }
      },
      "context": {
        "auth": {
          "0": {
            "0": {},
            "1": {},
            "2": {},
            "3": {},
            "4": {}
          },
          "1": {
            "0": {},
            "1": {},
            "2": {},
            "3": {},
            "4": {},
            "5": {}
          }
        },
        "searchform": {
          "0": {
            "0": {},
            "1": {},
            "2": {},
            "3": {},
            "4": {},
            "5": {},
            "6": {}
          },
          "1": {},
          "2": {}
        },
        "location": {
          "href": "http://viu.bywatersolutions.com/cgi-bin/koha/opac-main.pl",
          "origin": "http://viu.bywatersolutions.com",
          "protocol": "http:",
          "host": "viu.bywatersolutions.com",
          "hostname": "viu.bywatersolutions.com",
          "port": "",
          "pathname": "/cgi-bin/koha/opac-main.pl",
          "search": "",
          "hash": ""
        }
      },
      "length": 1
    },
    "context": {
      "auth": {
        "0": {
          "0": {},
          "1": {},
          "2": {},
          "3": {},
          "4": {}
        },
        "1": {
          "0": {},
          "1": {},
          "2": {},
          "3": {},
          "4": {},
          "5": {}
        }
      },
      "searchform": {
        "0": {
          "0": {},
          "1": {},
          "2": {},
          "3": {},
          "4": {},
          "5": {},
          "6": {}
        },
        "1": {},
        "2": {}
      },
      "location": {
        "href": "http://viu.bywatersolutions.com/cgi-bin/koha/opac-main.pl",
        "origin": "http://viu.bywatersolutions.com",
        "protocol": "http:",
        "host": "viu.bywatersolutions.com",
        "hostname": "viu.bywatersolutions.com",
        "port": "",
        "pathname": "/cgi-bin/koha/opac-main.pl",
        "search": "",
        "hash": ""
      }
    },
    "selector": "response = {\n\tadded: 0,\n\tdeleted: 0,\n\terrors: 0\n\n\n};"
  }
  </code></pre>
  
  <p>Any one ever experienced anything like this? </p>