" />')"> or function k_delete_column( fid, nonce ){ if( confirm('') ){ var qs = 'ajax.php?act=delete-columns&fid='+fid+'&nonce='+encodeURIComponent( nonce ); $.ajax({ dataType: "text", url: qs }).done(function( data ) { if( data === "OK" ){ window.location.reload( true ); } else{ alert( data ); } }); } }