Авторизуйтесь по паролю
shokir 30.10.2019 Все вопросы » jQuery 749
dj-avtosh - 2018-11-0330 октября 2019 14:24 - #73750
shokir - 2018-11-0330 октября 2019 14:45 - #73753
<script type="text/javascript"> document.body.innerHTML = document.body.innerHTML.replace('Привет', 'Здравствуйте'); </script> 2. $("span, p, div").each(function() { var text = $(this).text(); text = text.replace("qweqwe", "asdf"); $(this).text(text); });
shokir - 2018-11-0330 октября 2019 14:46 - #73754
dj-avtosh - 2018-11-0330 октября 2019 14:58 - #73755
$( document ).ready(function() { $('.class').html($('.class').html().replace('Было', 'Стало')); });
shokir - 2018-11-0330 октября 2019 15:09 - #73756
CREATE TABLE `dle_views` ( `id` int(11) NOT NULL, `news_id` int(11) NOT NULL DEFAULT '0' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;