Hi guys,
I've been using AJAX via jQuery for a while now. However, I'm working on a site where I wanna load a "banner" using async. This works fine with jQuery:
However, it seems a bit OTT to have ALL of jQuery (even minified its a large file )
How easy would it be to do this without jQuery?
I had a look on google - but it seems all the tutorials use jQuery now
TIA
Andy
I've been using AJAX via jQuery for a while now. However, I'm working on a site where I wanna load a "banner" using async. This works fine with jQuery:
Code:
<script>function load_side_ad() {
var aa = jQuery.ajax({
url: '/cgi-bin/ban.pl',
async: false
}).responseText;
jQuery('#banner_ad_side').html(aa);
}</script>
However, it seems a bit OTT to have ALL of jQuery (even minified its a large file )
How easy would it be to do this without jQuery?
I had a look on google - but it seems all the tutorials use jQuery now
TIA
Andy