<div style="white-space: pre-line;">
Ваш текст
</div>
$('.header-search__popup').click(function() {
setTimeout(function() {
$('input.aws-search-field').focus();
}, 200);
});
https://yousite.com/?page=2
https://yousite.com/?date=20.11.2020_-_23.11.2020
require_once 'phpQuery/phpQuery/phpQuery.php';
$html = file_get_contents('https://ссылка_на_страницу');
$doc = phpQuery::newDocument($html);
$link = $doc->find('селектор_для_поиска_ссылки');
pq($link)->attr('href', 'https://новый_адрес_для_ссылки');
echo pq($doc)->html();
$.ajax({
url: my_url,
method: "GET",
dataType: "html",
success: function(html){
var doc = new DOMParser().parseFromString(html, 'text/html');
var txt = $('селектор_для_поиска', doc).text();
alert(txt);
}
});
div
с атрибутом contenteditable="true"
стилизованный под поле ввода.<script src="https://cdnjs.cloudflare.com/ajax/libs/alertifyjs-alertify.js/1.0.11/js/alertify.js"></script>
alertify.alert('Произвольный текст');
alertify.success('Произвольный текст');
<a href="#box" onclick="alertify.alert('Оставьте свой номер и мы с вами свяжемся')">
<div id="containercall">
<img src="resource/call.png" alt="" id="call">
</div>
</a>
console.dir(event);
чтобы посмотреть что там вообще есть.