问题
jQuery.fn.load() is deprecated in jquery 3.X.X? I'm making a mess with documentation.
mycode is:
$("#myDiv").load('mypage.html');
How I can load mypage.html into #myDiv?
回答1:
Your code is correct. This load method you use isn't deprecated, but the load event is.
来源:https://stackoverflow.com/questions/38141150/jquery-fn-load-is-deprecated