onFinished: function (event, currentIndex) {
$.ajax({
type: "POST",
url: 'mail-attach.php',
data: new FormData($('#signup-form')[0]),
processData: false,
contentType: false,
dataType: "json",
success: function(data, textStatus, jqXHR) {
//process data
alert( "Data Loaded: " + data );
},
error: function(data, textStatus, jqXHR) {
//process error msg
},
});
}
<script type="text/javascript">
$(function () {
$('header .top .profile ul li a').each(function () {
var location = window.location.href
var link = this.href
var result = location.match(link);
if(result != null) {
$(this).addClass('active');
}
});
});
</script>
header .top ul.menu li a.active{color:#ffd111}
::-webkit-scrollbar-track {
background: 0 0;
}
::-webkit-scrollbar-thumb {
background: #fff;
border-radius: 5px;
}
::-webkit-resizer {
width: 5px;
}
::-webkit-scrollbar {
width: 5px;
}