function nxsPostToFav(obj){ obj.preventDefault; var k = obj.target.split("-"); var nt = k[0]; var ii = k[1]; var pid = k[2]; var data = { action:'nxs_snap_aj', nxsact: 'manPost', nt:nt, id: pid, nid: ii, et_load_builder_modules:1, _wpnonce: 'fe5608e079'}; jQuery('#nxsFavNoticeCnt').html('

Posting...

'); jQuery('#nxsFavNotice').modal({ fadeDuration: 50 }); jQuery.post('https://www.sinisasoljacic.com/wp-admin/admin-ajax.php', data, function(response) { if (response=='') response = 'Message Posted'; jQuery('#nxsFavNoticeCnt').html('

' + response + '

' +''); }); }

Kontakt

10 + 2 =