$per.attr("data-percent", percentage+'%');
.percent:before { content: attr( data-percent ) '%'; }
$var1 = isset($var2) && $var2 ? $var2 : $var3; // до 7.0
$var1 = $var2 ?? $var3; // c 7.0
$('***')
$(this)
$(".portfolio__gallery-filters a").click(function() {
var $this = $(this);
console.log($this.attr('href'));
return false;
});
function funcSucc2(data, status, xhr) {
var location = xhr.getResponseHeader('Location');
if(location) {
window.location.href = location;
return;
}
$('.lerrors').text(data);
}