I have been given a URL by a partnering company to load content into a DIV. We put the following onto a page:
<div id="catalog"></div>
And then use .get()
to put content into it. A problem arises due to the fact that we're using jQuery 1.3.2 on some of the older sites, and the engineering department is not going to update that any time soon. Both .get()
and .load()
are giving me errors.
I tried things such as:
$(document).ready(function () {
$.ajax("http://appserv.ourpartneringcompany.com/catalog/?acct=12345",function(data){
$('#catalog').html(data);
});
});
The error goes away, but the data doesn't load. Could I use jQuery.ajax()
?