Jquery - Jquery - The html() method sets or returns the content (innerHTML) of the selected elements. -метод html() устанавливает или возвращает содержимое (innerHTML) выбранных элементов.
Näide:
$("button").click(function(){
$("p").html("Hello <b>world</b>!");
});
1
2