You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gdms/web/jsFile/home-update.js

14 lines
394 B

$(document).ready(function () {
$('.link-point').on('click',upadateFrame);
})
function upadateFrame(e) {
e.preventDefault();
var updateUrl=$(this).attr('href');
var arr=updateUrl.split('?');
var proccessIndex=arr[1];
var indexData={"index":proccessIndex};
$('.update-frame').load(updateUrl+' .updated',indexData,function (data) {
});
history.pushState(null,null,updateUrl);
}