所以,我有一个<div>,其中包含了我的博客文章。它的类是.post。我想做的是,每当有人单击小部件区域最近的帖子时,内容都是通过Ajax加载的,而不是刷新页面。
这是我的密码
jQuery(function()
{
jQuery(".umrp-list li a").click(function(){ //here I select the links of the widget
var post_url = jQuery(this).attr("href");
jQuery(".post")