jquery load()问题

$('#divid').load('/account/login');

当我使用jquery load()时,chrome出现如下错误,请问如何解决呢?

Synchronous XMLHttpRequest on the main thread is deprecated because of
its detrimental effects to the end user's experience. For more help,
check http://xhr.spec.whatwg.org/.

阅读 3.6k
1 个回答

你jquery是不是用ajax了

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进