【发布时间】:2017-07-09 11:29:55
【问题描述】:
我试图通过附加内容在 wordpress 中创建无限滚动(似乎很简单)
但唯一被附加的是 “http://localhost/wptest/test2/#内容”
我读了很多,但理解不够,无法解决问题对不起:(。
有人会这么好心地把我推向正确的方向吗?
<script>
jQuery(document).ready(function() {
alert( "test 1" );
jQuery("#content").append("http://localhost/wptest/test2/ #content");
alert( "test 2" );
});
</script>
【问题讨论】:
标签: jquery wordpress append infinite-scroll