var jq_oms = jQuery.noConflict(); (function($){ $(document).ready(function(){ var otelname = ''; $.ajax({ type: 'GET', dataType: "jsonp", crossDomain: true, url: "https://ladoga33ru-book.otelms.com/widget/loadcalendar20/3464/", success:function(json){ $('#widgetContainer').html(json.TXT); }, error: function (responseData, textStatus, errorThrown) { alert('...'); } }); }); })(jQuery);