How to make sure that my ajax call pulls authenticated content

I am making an Ajax call within my page to a DB and pulling products that have images included. Here is the ajax call that i'm making: $.ajax({ type : "GET", url : "**https**://www.mydomain.org/getRow.php", dataType: 'html', success: function (msg) { $(".drag-desired").html(msg); $.event.trigger('init-draggable-products'); }, error: function (xhr) { $('#errorDisplay').html('Error: '+ xhr.status + '' + xhr.statusText); } }); Problem that I am having is with IE it gives a prompt asking if the visitor would like to view the unauthenticated content. If the person was to click no or yes they would like the browser to block that content I'm not getting the products to display. Here is my php file that is grabbing the products: '.htmlspecialchars($row['name']).'
'; } ?>

以上就是How to make sure that my ajax call pulls authenticated content的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » jQuery 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏