(function($){ $.getJSON("https://waehrungsrechner.goldbulle.de/templateCalculator.php?jsoncallback=?&id=b_kurse_currency_rechner687").success(function(data){ $('#b_kurse_currency_rechner687').html(data); }).error(function(jqXHR, textStatus, errorThrown) { alert('getJSON request failed! ' + textStatus); }); })(jQuery)