<a href="..."></a>
<a href="..."></a>
<a href="url1">
<a href="tel"></a>
</a>
<div data-href="http://ya.ru">
<a href="tel:+7"></a>
</div>
$(document).on("click","[data-href]",function(e){
e.preventDefault();
location.href = $(this).data('href');
});
www.site.com/form/ - тут форма
www.site.com/sendmail/ - тут обработка полученных данных и отправка письма
<form action="https://www.site.com/sendmail/" method="get">
<input type="text" name="message" value="demo text">
<button type="submit">send</button>
</form>
Если нажать send то откроется https://www.site.com/sendmail/?message=demo+text
ymaps.ready(init);
function init(){
ymaps.geolocation.get({
provider: 'yandex',
autoReverseGeocode: true
}).then(function (result) {
console.log(result.geoObjects.get(0).properties.get('metaDataProperty'));
});
}
var sort_change = 'asc';
...
change () {
if(sort_change == 'asc'){
this.items.sort((a, b) => {
if (a.fullname > b.fullname) return 1
if (a.fullname < b.fullname) return -1
})
}else{
this.items.sort((a, b) => {
if (a.fullname > b.fullname) return -1
if (a.fullname < b.fullname) return 1
})
}
sort_change = (sort_change == 'asc') ? 'desc' : 'asc';
}
И удалите только: